Lesson 2 · Core objects & the control plane
Cluster architecture
Who runs the control loop, and who runs your containers — the control plane vs the nodes.
Your win: name the control-plane components (api-server, etcd, scheduler, controller-manager) and the node components (kubelet, kube-proxy, runtime), and say what each one does — a guaranteed CKA/interview question.
Two halves of a cluster
A Kubernetes cluster splits into the control plane (the brain — makes decisions) and the nodes (the muscle — run your Pods).1
Control plane — the brain
| Component | Job |
|---|---|
| kube-apiserver | the front door — the only component that reads/writes cluster state. Everything (kubectl, controllers, kubelets) talks through it. |
| etcd | a consistent, highly-available key-value store holding all cluster state. The api-server is its only client. |
| kube-scheduler | watches for Pods with no node assigned and picks a suitable node for each (resources, affinity, taints — Lesson 10). |
| kube-controller-manager | runs the controllers — the reconcile loops from Lesson 1 (Deployment, ReplicaSet, node, …). |
Nodes — the muscle
| Component | Job |
|---|---|
| kubelet | the node agent: takes the Pods assigned to its node, tells the runtime to start their containers, runs the probes (Lesson 8), and reports status back to the api-server. |
| kube-proxy | programs the node's networking so traffic to a Service reaches the right Pods (Lesson 5). |
| container runtime | containerd (or similar) — actually runs the containers. The OCI runtime from Course 1. |
sk.bash ran kubectl rollout restart deploy/bob,
that request hit the api-server, which updated the Deployment in
etcd; the controller-manager rolled a new ReplicaSet, the
scheduler placed the new Pods, and each node's kubelet
started them and ran the grpc_health_probe readiness check
(deployments/helm/libs/util/templates/_workload_containers.tpl:92).
Your kind cluster (Course 1 L6) runs this whole control plane inside Docker containers.
Kubernetes docs — Cluster architecture & components
The canonical diagram and one-line role for each component. Memorise this page for the CKA.
→ kubernetes.io — Cluster Architecture
→ kubernetes.io — Components
Check yourself (from memory)
Q1. The only component that reads/writes cluster state is…
Q2. Which component runs on each node and starts its Pods?
Q3. Deciding which node a new Pod runs on is the job of…