I was going through this exercise for Using Calico network policies to block traffic when I thought that instead of deploying the webserver image using this command:
kubectl run webserver --image=k8s.gcr.io/echoserver:1.10 --replicas=3
I would create a yaml file to deploy the webserver instead. Unfortunately, there was something about my yaml file that preventing things from working. That’s when I came across this trick.
- Step 1: deploy the web server using the kubectl run command.
- Step 2: run the following command to get the YAML back for the deployment
kubectl get deployment webserver --output yaml > webserver.yaml
- Step 3: edit the webserver.yaml file to remove extra lines. For me, I was able to remove:
- the status section
- the annotations section
- the strategy section
And just keep the following lines (note, note formatted properly):
- image: k8s.gcr.io/echoserver:1.10
Now, you do not have to edit the file. But I think this is cleaner than the full version that comes back.
So you can delete the deployment that was the result of the command line and instead build future deployments using the yaml file.
And as someone who is a fan of it since a long time, I was glad to hear about it here: There’s a New iPod Touch. Yes, in 2019, and Yes, It’s Worth Looking at. – The New York Times
Back in the day when Blackberries were the rage and I needed one for work, the iPod Touch was my way of tapping into the world of Apple. Today if I had to use Android for whatever reason, I’d be inclined to get a Touch again, just so I could do things the Apple way. It’s a great device still, and if you read the article, you’ll see it is not obsolete.
Now if Apple would only bring back the Nano! 🙂
This is a love story in a way, although it’s a love affair with a device: Tim Cook Will Have To Pry My iPhone SE From My Cold, Tiny Hands.
It brings up an interesting thought: that for all the seeming abundance of smart phones, they really have narrowed into a specific style and range. They are all large, glass devices with fancy cameras. That’s what sells, and manufactures have no desire to make anything else. Or maybe they are fearful of trying to make something else.
Some event will occur and innovation and diversity will come to the personal device market. But for now, expect more of less.
(Image linked to in the article)
I highly highly recommend this: NYT Programs – Secure Your Digital Life in 7 (Easy) Days
You can never do enough to security your information technology, but the more you do, the better off you are.
First off, what is it?
The Embroidered Computer is an exploration into using historic gold embroidery materials and knowledge to craft a programmable 8 bit computer.
Brilliant. For more on the design and more photos, see here: The Embroidered Computer | Irene PoschIrene Posch
According to this iPad vs. Mac: Is a tablet better than a laptop for school and work? in The Washington Post, not yet.
I agree with that assessment. I think there will be a time soon when you can, but not this year. Read the piece before you try to go solo with a tablet.