Kubernetes
Today I learned - kubectl replace
Here’s one for your toolbox, but use with care. Say you have an app running on kubernetes in a pod and you spot something you want to change. This is one way to get it done.
For the example, I spun up an nginx server called webapp
.
The command to edit a resource running on kubernetes is kubectl edit <thing> <name>
. So here goes:
kubectl edit pod webapp
You’ll see a whole bunch of yaml that represents the pods definition. In what editor will depend on what you’ve set as your default editor for any kubectl
related business. (See: KUBE_EDITOR
environment variable).
Let's talk containers
A recent talk by one of my buddies at ITQ sparked something and I thought I’d share that with you. It’s about containers and where they sit in a software developer point of view.
The platform stack
The thing that caused the spark was this image:
Here we have a rough outline of the platform abstractions we currently see in the wild. Let’s start at the bottom.