Control Plane vs. Worker Nodes: API Server, etcd, Scheduler, and Kubelet Explained
Kubernetes architecture explained: API server, etcd, scheduler, controller manager, kubelet and kube-proxy, and what a Deployment triggers.

You run kubectl apply -f deployment.yaml, and thirty seconds later three pods are running on three different machines. Nothing in that command said which machines, how to pull the image, or what to do if one of them dies tomorrow. Several independent programs, none of which talk to each other directly, cooperated to make it happen. Knowing which program does which part is the difference between debugging Kubernetes and guessing at it.
The control plane is the set of components that manage the cluster’s state and make global decisions. Worker nodes are the machines, physical or virtual, that run your application containers. On managed services such as Amazon EKS, Google GKE and Azure AKS, the provider runs the control plane for you and you only see the nodes, but the architecture is the same.
The map
CONTROL PLANE
+--------------------------------------------------+
| kube-apiserver <--> etcd |
| ^ ^ ^ |
| | | +-- kube-scheduler |
| | +------ kube-controller-manager |
| +---------- cloud-controller-manager |
+-------|------------------------------------------+
| (everything talks to the API server)
+-------v-----------+ +-------------------+
| WORKER NODE 1 | | WORKER NODE 2 |
| kubelet | | kubelet |
| containerd (CRI) | | containerd (CRI) |
| kube-proxy | | kube-proxy |
| CNI plugin | | CNI plugin |
| [pods...] | | [pods...] |
+-------------------+ +-------------------+
Control plane components
kube-apiserver
The API server is the only component that reads and writes etcd, and the only one every other component talks to. Each request passes through three gates: authentication (who are you, via certificates, tokens or a cloud identity), authorization (are you allowed, usually via RBAC) and admission control (should this object be accepted or modified, for example applying default values, enforcing Pod Security Standards or quotas). It also serves watches: long-lived connections through which components are notified immediately when objects they care about change. The API server is stateless, so you can run several replicas behind a load balancer.
etcd
etcd is a consistent, distributed key-value store and the cluster’s single source of truth. Every Deployment, Pod, Secret and ConfigMap lives there. It uses the Raft consensus algorithm, so it needs a majority of members to accept writes: three members tolerate one failure, five tolerate two. Lose etcd without a backup and you lose the cluster’s entire state, even if every node is still running. If you run your own control plane, regular etcd snapshots are not optional.
kube-scheduler
The scheduler watches for pods that have no node assigned. For each, it filters out nodes that cannot run it (not enough free CPU or memory requested, a taint the pod does not tolerate, a node selector that does not match, a volume in another zone), then scores the remaining nodes (spreading replicas, preferring nodes with the image already pulled, honoring affinity preferences) and writes the chosen node’s name into the pod. That is all it does: it does not start anything.
kube-controller-manager
A single binary running dozens of controllers, each a loop that watches some objects and acts to make actual state match desired state. The Deployment controller creates ReplicaSets; the ReplicaSet controller creates or deletes Pods to match the replica count; the Node controller notices nodes that stop reporting and marks their pods for eviction; the Job controller runs pods to completion; the EndpointSlice controller tracks which pods back each Service.
cloud-controller-manager
Integrates with the cloud provider’s APIs: creating load balancers for LoadBalancer Services, labeling nodes with their zone and removing nodes whose VMs were deleted.
Worker node components
kubelet
The agent on every node. It watches the API server for pods assigned to its node, asks the container runtime to pull images and start containers, mounts volumes, runs liveness, readiness and startup probes, and reports pod and node status back. If the kubelet stops reporting, the control plane eventually considers the node lost.
Container runtime
The kubelet talks to the runtime through the Container Runtime Interface (CRI). containerd and CRI-O are the common choices. Kubernetes 1.24 removed the old built-in Docker integration, but images built with Docker are standard OCI images and run unchanged, as explained in the Docker architecture article.
kube-proxy and the CNI plugin
The CNI plugin, such as Calico, Cilium, Flannel or a cloud provider’s own, gives every pod an IP address and makes pods reachable from every other pod across nodes. kube-proxy implements Services, by programming iptables or IPVS rules so traffic to a Service’s virtual IP is load-balanced across its pods; an nftables mode arrived as alpha in Kubernetes 1.29. Some CNI plugins, notably Cilium, can replace kube-proxy entirely with eBPF.
Cluster add-ons
CoreDNS, which provides the cluster DNS that lets pods resolve my-service.my-namespace.svc.cluster.local, runs as ordinary pods. So do the metrics-server, ingress controllers and most other add-ons.
What happens when you apply a Deployment
kubectlsends the Deployment to the API server, which authenticates, authorizes, runs admission and stores it in etcd.- The Deployment controller, watching Deployments, sees a new one and creates a ReplicaSet.
- The ReplicaSet controller sees that zero of three desired pods exist and creates three Pod objects, with no node assigned.
- The scheduler sees three unscheduled pods, picks a node for each and writes the binding.
- Each kubelet sees a pod bound to its node, pulls the image through containerd, sets up networking through CNI and starts the containers.
- When readiness probes pass, the EndpointSlice controller adds the pods to any matching Service, and kube-proxy updates routing rules on every node.
No component called another directly. Each one watched the API for the objects it cares about and did its one job. That decoupling is why Kubernetes recovers from partial failures so well.
What fails, and what keeps running
- The API server is down: running pods keep running and serving traffic, because kubelets and kube-proxy work from what they already know. You cannot deploy, scale or reschedule until it returns.
- The scheduler is down: existing pods are fine; new pods stay
Pending. - A worker node dies: after a timeout, roughly five minutes by default, its pods are evicted and controllers recreate them on other nodes.
- etcd loses quorum: the cluster becomes read-only at best. Without backups, losing etcd means rebuilding the cluster’s state from your manifests.
This is also why your manifests belong in Git. If the cluster’s state must ever be rebuilt, the source of truth should exist outside etcd.
Versions and upgrades
Kubernetes releases three minor versions a year; 1.29 shipped in December 2023 and is the current release. Each minor version receives about a year of upstream patches, and managed providers support versions for a similar or slightly longer window. The control plane is upgraded first, then nodes, and the kubelet may lag the API server by a limited number of minor versions, so upgrades happen one minor version at a time.
Frequently Asked Questions
What is the Kubernetes control plane?
It is the set of components that store the cluster’s desired state and make decisions: the API server, etcd, the scheduler, the controller manager and, in cloud environments, the cloud controller manager. Managed Kubernetes services run the control plane for you.
What does the kubelet do?
The kubelet runs on every worker node. It watches for pods assigned to its node, starts their containers through the container runtime, mounts volumes, runs health probes and reports status back to the API server.
What happens if the Kubernetes API server goes down?
Running workloads continue to run and serve traffic, because nodes keep their current configuration. You cannot deploy, scale or reschedule anything, and failed pods are not replaced, until the API server is available again.
Why does etcd need an odd number of members?
etcd uses Raft consensus and needs a majority of members to commit writes. Three members tolerate one failure and five tolerate two; adding a fourth member does not increase fault tolerance over three.
Watchers and reconcilers all the way down
Kubernetes is a database, an API in front of it, and a collection of small programs that each watch part of that API and nudge reality toward it. Keep that picture in mind and the behavior you see in daily use, pods recreated after deletion, pending pods waiting for capacity, workloads surviving a control plane outage, stops being magic. The next step is learning to talk to that API efficiently, with kubectl. The official documentation is worth keeping open: the Kubernetes architecture documentation and the Kubernetes components reference. Related reading on this site: pods, ReplicaSets and Deployments.
Originally posted on 23 January 2024 and post last modified on 23 January 2024