A Kubernetes Node Is Just a Container
Part one of a lab where I broke a cluster on purpose. What is actually running when kind says your nodes are Ready, and why the image you built is not where you think it is.
- #kubernetes
- #kind
- #sre
- #k8s-lab
A Kubernetes Node Is Just a Container
I passed the KCNA in earlier this year (2026). I could draw the control plane on a whiteboard: API server, etcd, scheduler, controller manager, kubelet, kube-proxy. I could tell you what a ReplicaSet does.
Then I built a cluster and killed parts of it on purpose, and found out how much of that diagram I had been holding as a picture rather than a model.
This is part one of what came out of it. The lab is kube-critter: one small app, one kind cluster, ten phases, and one rule that made all of it work.
Predict before you run. Write the answer down first. Reading a correct explanation after the fact teaches you almost nothing, because it never contradicts you. Guessing wrong and then finding out why is the only part of this that stuck.
The app exists to be visible
Kube-Critter is a Node server with Redis behind it. Press a button, a counter goes up, and the page tells you which Pod and which node answered. That is the whole product.

It is deliberately silly, and the silliness is the point: "which replica served this request" being visible on screen is the only way to watch a rollout or a node failure as it happens. A counter and a hostname are enough to see everything.
Two choices inside the app matter later:
POST /boopreturns a303redirect. A GET that changes state gets replayed by browser refreshes, prefetchers and crawlers.- The Redis client uses
disableOfflineQueuewith a one second timeout, and every handler catches its own errors.
The second one is not a Kubernetes lesson, but the whole lab depends on it. If your app crashes when a dependency disappears, you cannot tell the difference between a cluster behaving badly and an app that was never robust.
Phase 1: Prove the app works without Kubernetes
Before blaming the orchestrator, run the thing under plain Docker with nothing clever involved.
docker network create critter-dev
docker run -d --name dev-redis --network critter-dev redis:7.4-alpine
docker run --rm -p 3000:3000 --network critter-dev \
-e REDIS_URL=redis://dev-redis:6379 kube-critter:v1
Open the page, boop a few times, then stop Redis with the page still open. The page degrades and says so. The container does not restart. Start Redis again and it recovers on its own.
This reads like a throwaway step. It is the most valuable one, because it gives you a baseline. From here on, every behaviour has to be explained by something the cluster is doing. Without the baseline, half of what you "discover" about Kubernetes is your own application.
Phase 2: A node is a container
kind runs each node as a Docker container with systemd, containerd and kubelet inside it. Three nodes means three containers.
kind create cluster --config kind-config.yaml
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Ports}}'
kubectl get nodes -o wide

Two things are visible in that output that the whiteboard diagram never showed me.
First, only one container publishes a port. That is the control plane, because the config maps host 127.0.0.1:80 to container port 30080 for the ingress layer in part three.
Second, and the one I had to sit with: where do the API server, etcd and the scheduler actually run?
They run inside the control-plane container as static pods. The kubelet reads YAML from /etc/kubernetes/manifests and starts them itself. There is no scheduler involved in starting the scheduler, because it does not exist yet.
docker exec critter-lab-control-plane ls /etc/kubernetes/manifests
docker exec critter-lab-control-plane crictl ps
kubectl get ds -A
You can list the control plane's own components with crictl on that container, which is a strange and useful feeling. The two things that run on every node are the DaemonSets: kube-proxy and kind's CNI. CoreDNS and the local-path provisioner are ordinary Deployments, which is exactly why they can be rescheduled and the API server cannot.
One detail quietly shapes the rest of the lab: the control-plane node carries a NoSchedule taint. My four replicas can only land on the two workers, so "spread across nodes" means 2 + 2, never 4 across 3 nodes.
Phase 3: The image is not where you think it is
I built kube-critter:v1 with Docker on my laptop. The cluster cannot see it. ErrImagePull, with the image sitting right there on the machine.
Every node runs its own containerd with its own image store, and your host's Docker daemon is a different daemon with a different store. kind load does the boring translation: export a tarball, import it into each node's containerd.
docker exec critter-lab-worker crictl images | grep critter # before: nothing
kind load docker-image kube-critter:v1 --name critter-lab
docker exec critter-lab-worker crictl images | grep critter # after: v1

Two consequences cost people entire afternoons:
The name changes. The image is now docker.io/library/kube-critter:v1. If a Pod ever tries to pull that name, Docker Hub will not have it. The image is on the node and the cluster still fails.
:latest overrides all of it. image: kube-critter:latest defaults to imagePullPolicy: Always, which ignores the side-loaded image and goes to the registry. A non-latest tag defaults to IfNotPresent, which is why the manifest pins v1 and says IfNotPresent explicitly next to it.
That makes this the cheapest failure to cause on purpose. Set the image to kube-critter:v9 and watch:
kubectl set image deploy/kube-critter -n critter critter=kube-critter:v9
kubectl get pods -n critter -w
ImagePullBackOff, and the old Pods keep serving the entire time, because maxUnavailable: 0 will not remove a healthy Pod for a rollout that cannot succeed.

What part one actually establishes
Three things, and they are the foundation for the two harder parts.
The cluster is containers all the way down. Every abstraction I rely on sits on a layer that can be stopped with docker stop. That is not a weakness, it is the reason the failure modes in part two are diagnosable at all.
Nothing is shared unless something copies it. Images, volumes and network namespaces are per node, and the tooling copies them. Knowing which tool does the copying is most of the debugging.
The defaults are chosen for the average case. IfNotPresent, Always, a five-minute eviction timeout, ScheduleAnyway versus DoNotSchedule. Every one of those is right for somebody and wrong for the case in front of you.
Part two is where this stops being fun: state, and what happens when the node holding it dies.
The full lab, with all ten phases and the YAML, is at tedph-cyber/kube-critter.
Series: part 1 of 3