Explain how the Kubernetes control plane components work together.
Assesses fundamental understanding of Kubernetes conventions, runtime behavior, and memory/performance considerations.
Hiring managers look for precision, avoidance of ambiguous jargon, and ability to explain trade-offs under real production conditions.
The control plane maintains desired state and schedules workloads.
- kube-apiserver: the front door. It validates and persists objects to etcd, and all components talk to it.
- etcd: the consistent key-value store holding cluster state. Back it up; it is the source of truth.
- kube-scheduler: watches for unscheduled Pods and picks a node based on resource requests, affinity, taints, and topology.
- kube-controller-manager: runs controllers such as Deployment, ReplicaSet, Node, and Job that reconcile actual state toward desired state.
- cloud-controller-manager: integrates with the cloud provider for load balancers, routes, and nodes.
On each node:
- kubelet starts and monitors containers and reports status.
- kube-proxy implements Service networking.
- The container runtime pulls images and runs containers via CRI.
Flow: you apply a Deployment, the API server stores it, the Deployment controller creates a ReplicaSet, the scheduler assigns Pods to nodes, and kubelets start them.
Candidate Response Strategy & Interview Tips
- Start with a concise one-sentence summary: Deliver a direct, confident answer first before expanding into nuances.
- Demonstrate real-world trade-offs: Discuss where this approach excels and when you would avoid it in production systems.
- Discuss complexity & edge cases: Proactively explain time/space complexity or boundary conditions (null values, scale limits).
- Prepare for interviewer follow-ups: Technical hiring panels frequently probe deeper into concurrency, backward compatibility, or alternative libraries.