100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

What is the Kubernetes Control Plane?

Learn what the Kubernetes control plane is — API server, etcd, scheduler, and controller manager — and how they keep a cluster in desired state.

mediumQ60 of 224 in DevOps Est. time: 6 minsLast updated:
Open Code Lab

Expected Interview Answer

The Kubernetes control plane is the set of components — the API server, etcd, the scheduler, and the controller manager — that together observe the cluster’s actual state and continuously drive it toward the desired state declared in manifests.

The API server is the single front door: every kubectl command, controller, and kubelet talks only to it over REST/gRPC, and it validates and persists objects into etcd, a distributed key-value store that is the cluster’s single source of truth. The scheduler watches for newly created Pods with no assigned node and picks a suitable node based on resource requests, taints, and affinity rules, writing that decision back through the API server. The controller manager runs many independent reconciliation loops — for Deployments, ReplicaSets, Nodes, and more — each comparing desired state in etcd against observed state and issuing corrective API calls, such as creating a replacement Pod after one crashes. None of these components talk to each other directly; every interaction is mediated by the API server, which keeps the design decoupled and lets each component be scaled or restarted independently.

  • Provides a single consistent source of truth via etcd
  • Decouples components through the API server for resilience
  • Continuously self-heals the cluster toward desired state
  • Cleanly separates scheduling decisions from workload execution

AI Mentor Explanation

The control plane is like a franchise’s team management office: the head coach’s desk (API server) is the only place anyone files team decisions, and the master team ledger (etcd) records every selection ever made. A team selector (scheduler) reviews unassigned players and decides which match squad they join based on form and fitness. Assistant coaches (controller manager) constantly check the ledger against who is actually on the field and call up replacements the moment an injury is logged. No selector ever phones a player directly — every instruction is filed through the head coach’s desk first.

Step-by-Step Explanation

  1. Step 1

    Client submits a change

    kubectl or a controller sends a request to the API server, the only entry point into the cluster.

  2. Step 2

    API server validates and persists

    The request is authenticated, validated, and written to etcd as the new desired state.

  3. Step 3

    Scheduler assigns nodes

    For unscheduled Pods, the scheduler picks a suitable node and writes the binding back through the API server.

  4. Step 4

    Controllers reconcile

    Controller manager loops continuously compare desired state in etcd to observed state and issue corrective API calls.

What Interviewer Expects

  • Naming all four core components: API server, etcd, scheduler, controller manager
  • Understanding that the API server mediates every interaction
  • Awareness of etcd as the single source of truth for cluster state
  • Ability to describe the reconciliation loop pattern used by controllers

Common Mistakes

  • Saying kubelet is part of the control plane (it runs on worker nodes)
  • Thinking components talk to each other directly instead of via the API server
  • Confusing etcd with a general application database
  • Not mentioning that the scheduler only decides placement, not execution

Best Answer (HR Friendly)

The control plane is the brain of a Kubernetes cluster. It is made up of an API server that every request goes through, a database called etcd that stores the true state of everything, a scheduler that decides which machine runs each workload, and controllers that constantly check whether reality matches what we asked for and fix it automatically if it drifts.

Code Example

Inspecting control plane components
# List control plane Pods in the kube-system namespace
kubectl get pods -n kube-system -o wide

# Check API server health endpoint
kubectl get --raw="/healthz"

# View etcd member list (from a kubeadm cluster)
kubectl exec -n kube-system etcd-control-plane-1 -- etcdctl member list

# Watch scheduler decisions in events
kubectl get events --field-selector reason=Scheduled

Follow-up Questions

  • What happens to the cluster if etcd becomes unavailable?
  • How does the API server authenticate and authorize a request?
  • What is the difference between the scheduler and the kubelet?
  • How would you run a highly available control plane?

MCQ Practice

1. Which component is the single entry point for all cluster changes?

Every client, controller, and node interacts with the cluster exclusively through the API server.

2. Where does Kubernetes persist the cluster desired state?

etcd is the distributed key-value store that acts as the single source of truth for cluster state.

3. What does the controller manager primarily do?

The controller manager runs reconciliation loops that detect drift and issue corrective API calls to restore desired state.

Flash Cards

What is the Kubernetes control plane?The API server, etcd, scheduler, and controller manager that drive cluster state toward desired state.

What is the single entry point to the cluster?The API server — every component talks only through it.

What stores the cluster true state?etcd, a distributed key-value store.

What does the scheduler decide?Which node a newly created Pod should run on.

1 / 4

Continue Learning