kube-apiserver
The front door. Your kubectl, the kubelet and the controllers only talk to it. It authenticates, validates and writes every request to etcd.
The building's reception desk: nobody gets in without going through it.
Controllers running in loops, the scheduler picking nodes, Services following Pods that come and go. Almost none of it shows up in a terminal. I built an open source 3D simulator that turns a cluster's architecture into something you can rotate, click and break, and every action shows the matching kubectl command. This page explains every concept you meet in it.
Every cluster has two parts. The control plane decides what should happen. The worker nodes do the work. The colors below match the simulator's legend.
The front door. Your kubectl, the kubelet and the controllers only talk to it. It authenticates, validates and writes every request to etcd.
The building's reception desk: nobody gets in without going through it.
The key-value store that holds cluster state: everything that exists and everything you asked for. Lose etcd and the cluster forgets who it is.
The ledger. Back it up.
Finds Pods with no node yet and picks where each one runs, weighing CPU, memory, affinities and taints.
Runs the control loops (ReplicaSet, Deployment, Node, Job). Each one compares desired state with actual state and fixes the gap.
Talks to the cloud provider: creates load balancers, routes and disks, and notices when a VM is gone.
The agent on every node. It gets that node's Pod list from the apiserver, asks the runtime to start the containers and reports health back.
Programs the network rules (iptables or IPVS) so a Service IP reaches a healthy Pod on any node.
The smallest unit in Kubernetes: one or more containers sharing an IP and volumes. In the simulator, each Pod is a glass box holding nginx (app) and log-agent (sidecar).
A sidecar is a helper container in the same Pod: it ships logs, proxies traffic or renews certificates.
containerd or CRI-O actually runs the containers. Listing all of them, stopped ones (Exited) included, shows the restart history.
Storage that outlives the container. The Pod asks for a PersistentVolumeClaim and the cluster binds a PersistentVolume.
You don't tell Kubernetes "start one more Pod". You say "I want 4 replicas" and the controllers keep working until reality matches. That is why a crashed Pod comes back on its own.
The controller watches the apiserver and counts how many Pods with the label app=web exist right now.
It checks that number against the replicas declared in the ReplicaSet.
It creates or deletes Pods to close the gap. The scheduler picks a node, the kubelet starts the containers, and the loop starts again.
Every recreated Pod gets a new IP, so nothing should talk to a Pod directly. A Service provides a stable name and IP, and kube-proxy hands the traffic to a healthy Pod. In the simulator, the Live Traffic button animates exactly this path.
webThe default. An internal virtual IP that load-balances across the app's Pods. It is reachable only inside the cluster; the Ingress exposes it to the outside.
kube-dnsThe cluster DNS (CoreDNS). It turns web.prod.svc.cluster.local into the Service IP.
node-exporterWith clusterIP: None there is no virtual IP: DNS returns each Pod's IP. Ideal when Prometheus has to scrape every instance.
There are also NodePort (opens a port on every node) and LoadBalancer (the cloud-controller-manager provisions a load balancer at the provider).
Namespaces split a cluster into separate spaces for names, permissions (RBAC) and resource quotas. Two teams can each have a Service called web without a clash. In the simulator, each Pod's base shows its namespace color.
Where the app runs. Usually with a ResourceQuota and access limited to the owning team.
Tools that watch the cluster without mixing with the app: exporters, Prometheus, Grafana.
Kubernetes' own components. Only touch this if you know what you are doing.
The terminal on the cluster floor shows the equivalent of every action. These are the ones you will see there.
Move the replicas slider
Simulate Pod failure
Click a Pod
Read the app logs
Filter by namespace
List the Services
Containers on the node, stopped ones too
Deploy the app from scratch
Nothing to install, no cloud account. Drag to rotate 360°, explode the layers into nodes, Pods and containers, kill a Pod and watch the controller bring another one back. The interface is in English and Portuguese.