Control plane and node components: what talks to what, and what breaks when each is down

Everything is a controller watching the API server and reconciling declared state toward actual state. Nobody commands anything — which explains both the resilience and the debugging.

Read the briefing
About 8 min to read 7 drills

What to remember

  1. Declare desired state; controllers reconcile. There is no imperative command underneath. 'Why is this happening' is always 'some controller wants it'.
  2. The API server is the only thing that talks to etcd. Every component reads and writes through it, which is why its availability is the cluster's availability.
  3. The kubelet owns the node, not the scheduler. The scheduler only picks a node and writes it down; the kubelet makes it real.
  4. A crashed control plane leaves workloads running. Nothing new gets scheduled and nothing self-heals, but existing pods keep serving. Know that distinction.
  5. Read events before logs. kubectl describe shows which controller is complaining and why. Most answers are there.

The big picture

Kubernetes is a small set of control-plane processes (kube-apiserver, etcd, kube-scheduler, kube-controller-manager, cloud-controller-manager) and a per-node trio (kubelet, kube-proxy or a CNI replacement, a CRI runtime) that coordinate through one hub, the API server. Interviewers ask "what talks to what" and "what breaks when X is down" because the answers show whether you see the cluster as a set of watch-driven reconciliation loops or as a pile of boxes, and that is what lets you map a symptom to a component in the first five minutes of an incident.

The mental model

Picture a hub and spokes. etcd sits behind the API server and nobody else touches it. Every other component, including kubectl, is a client that writes desired state to the API server and watches for the slice of the world it owns: the scheduler watches for pods with no nodeName, the kubelet watches for pods bound to its node, controllers watch their objects and push actual state toward desired state. Nothing commands anything; each component notices work and reports back. If a spoke breaks, the loop it drives stops and everything else keeps turning.

Diagrams

What happens when you run kubectl apply
 kubectl apply
     |   authn -> authz (RBAC) -> admission webhooks
     v
+-----------------+          +------------------+
|  kube-apiserver |<-------->|       etcd       |
+--+-----------+--+          | the only state   |
   |           |             | there is         |
   |           |             +------------------+
   |           +---> controller-manager  reconcile loops
   |           +---> scheduler           picks a node
   v
 kubelet on the chosen node ---> container runtime
   |
   +--> kube-proxy / CNI    Service VIPs, pod networking

Nothing talks to etcd except the apiserver. Every controller
watches the apiserver and drives actual state toward spec.

In depth

The components and what each one owns

Control plane. kube-apiserver is the front door: it authenticates, authorizes, runs admission, validates, and persists every object, and it is the only process holding etcd credentials. etcd is the only stateful component, a Raft-replicated key-value store where every object lives under /registry/.... kube-scheduler watches for pods with an empty spec.nodeName, filters and scores nodes, and writes a Binding. kube-controller-manager bundles dozens of loops in one binary: ReplicaSet, Deployment, EndpointSlice, Job, CronJob, node lifecycle, garbage collection, ServiceAccount tokens, HorizontalPodAutoscaler. cloud-controller-manager holds the cloud-specific loops: node addresses, deletion of nodes whose VM is gone, LoadBalancer Services, routes.

Node. The kubelet is the node agent: it watches for pods bound to its node, drives the container runtime through the CRI (containerd or CRI-O), sets up pod networking by calling the CNI plugin, runs probes, and posts pod and node status. kube-proxy implements Services by programming iptables, IPVS, or nftables rules for ClusterIP and NodePort; eBPF CNIs such as Cilium can replace it entirely. The CNI plugin, not kube-proxy, gives pods their IPs and connectivity.

Where to see them. On kubeadm clusters the control plane runs as static pods from /etc/kubernetes/manifests, visible with kubectl -n kube-system get pods. HA control planes run several API servers behind a load balancer and several scheduler and controller-manager replicas, of which one is active per component, chosen through a Lease: kubectl -n kube-system get lease shows the holder and its renew time. On managed clusters the provider runs the control plane, but every symptom described below still reaches you.

Hub and spoke: everything goes through the API server

The architecture has two hard rules. First, only the API server talks to etcd. Controllers, the scheduler, the kubelet, and kubectl all read and write objects through the API, which is what makes authentication, RBAC, admission, and audit logging a single chokepoint instead of something every component reimplements. Second, almost nothing talks to the kubelet. The API server connects to the kubelet's port 10250 for kubectl logs, exec, attach, and port-forward; the metrics pipeline scrapes it; otherwise the kubelet is a client that reports status upward, not a server that receives orders.

Coordination is by watch, not by calls. A client lists the objects it cares about, receives a resourceVersion, and opens a watch from that version; the API server streams ADDED, MODIFIED, and DELETED events as they are persisted. The scheduler does not tell the kubelet "start this pod"; it writes nodeName, and the kubelet on that node, watching pods filtered to its own name, sees the change within milliseconds. That is why the control plane scales to thousands of nodes without polling, and why a component can be restarted without anyone else noticing: it re-lists and resumes.

The outward calls the API server does make are admission webhooks and aggregated API servers, which is exactly why those extensions can hurt availability. Interviewers probe the rules with questions like "does the scheduler talk to the kubelet?" (no) and "what would go wrong if a controller read etcd directly?" (you lose admission, RBAC, and audit for that path).

From kubectl apply to a running container

Trace a Deployment apply with a verb for each actor. kubectl authenticates and POSTs or PATCHes the Deployment. kube-apiserver authenticates, authorizes, runs mutating admission, validates the schema, runs validating admission, and writes the object to etcd. The Deployment controller (in kube-controller-manager) is watching Deployments; it computes a pod-template hash and creates a ReplicaSet. The ReplicaSet controller sees desired 3, actual 0, and creates three Pod objects with no nodeName. kube-scheduler sees unscheduled pods, filters and scores nodes, and writes a Binding, which sets nodeName. The kubelet on that node sees a pod bound to it: it asks the CRI runtime to pull the image and create the sandbox, calls the CNI plugin to attach the pod network and assign an IP, starts init containers and then app containers, begins probes, and posts status.phase and container states back to the API server. When readiness passes, the EndpointSlice controller adds the pod IP to the Service's slices, and kube-proxy on every node programs the rule that makes the ClusterIP reach it.

You can watch this happen: kubectl get events --field-selector involvedObject.name=<pod> --sort-by=.lastTimestamp shows Scheduled from default-scheduler, then Pulling, Pulled, Created, and Started from kubelet. The source column names the component responsible for each step, which is the fastest way to see where a stuck pod stopped. The interview version of this question is scored on order and on watches: candidates who narrate direct calls ("the scheduler tells the kubelet") have not understood the hub.

What breaks when each component is down

Ask "which loop stopped?" and the symptom pattern follows.

kube-apiserver down (or etcd without quorum): kubectl fails, controllers and the scheduler cannot read or write, nothing new is created. Running pods keep running: the kubelet works from its local copy of the pod specs, keeps executing probes and restarting crashed containers, and kube-proxy keeps the rules it last programmed, so existing Services keep routing. What you lose is change: no scaling, no rollouts, no endpoint updates, no new nodes joining.

kube-scheduler down: pods are created but stay Pending with no FailedScheduling event, because nothing is trying to place them. A Pending pod with an event is the scheduler working; a Pending pod with no event and an empty nodeName is the scheduler missing. Check its lease and its pod in kube-system.

kube-controller-manager down: kubectl apply succeeds and objects look right, but nothing converges. Deleted pods are not replaced, Deployments do not create ReplicaSets, Jobs never complete, Services get no endpoint updates, nodes that die never have their pods evicted, garbage collection stops. This is the quietest failure and the one interviewers like most.

kubelet down on a node: the node lifecycle controller marks it NotReady after about 40 seconds without a heartbeat and adds a NoExecute taint; pods are deleted from the API after the default five-minute toleration and their controllers recreate them elsewhere. The containers on the node may still be running, which is why Services drop the endpoints rather than trusting them.

cloud-controller-manager down: LoadBalancer Services stay pending, new nodes lack addresses, and nodes whose VMs were deleted linger.

First checks in any control-plane incident: kubectl get --raw='/readyz?verbose', kubectl -n kube-system get pods,lease, and the failing component's own logs.

Declarative state and controllers as loops

Kubernetes never executes your command; it records your intent and lets controllers converge reality toward it. kubectl delete pod on a Deployment-owned pod changes actual state, so the ReplicaSet controller notices desired 3 versus actual 2 and creates a replacement seconds later. To remove the pod for good you change the intent: scale down or delete the owner. kubectl rollout restart works the same way; it only edits a template annotation, and the rollout follows from the diff.

Controllers are level-triggered: each reconcile reads the current state and acts on it, rather than replaying the event that woke it. Missed or duplicated watch events are therefore harmless, which is what lets components restart freely, and it is why every controller must be idempotent. Ownership is recorded in metadata.ownerReferences (pod to ReplicaSet to Deployment); the garbage collector deletes dependents when the owner goes, and controllers adopt unowned objects that match their selector.

The interview payoff is diagnostic. When something "does not happen", name the loop that should have done it and check whether it is running and holds its lease. When something "keeps coming back", find the owner that wants it there. Thinking in loops rather than boxes is the whole skill this node tests.

Myths and facts

Myth: The scheduler starts containers on the node it picks.

Fact: The scheduler only writes a Binding that sets nodeName. The kubelet on that node sees the pod through its watch and starts the containers via the CRI.

Myth: If the API server goes down, my workloads go down.

Fact: The data plane keeps running: kubelets keep existing pods alive and probed, kube-proxy keeps its rules. Only change stops, so it is a control-plane outage, not a customer outage yet.

Myth: Controllers and the kubelet read and write etcd directly.

Fact: Only the API server has etcd credentials. Everything else goes through the API, which is what makes admission, RBAC, and audit enforceable in one place.

Myth: NotReady means the pods on that node have been killed.

Fact: NotReady is a statement about the kubelet's heartbeat. The containers may still be running; the control plane cannot know, so it waits, then deletes the pod objects and lets controllers recreate them.

Myth: kube-proxy gives pods their network connectivity.

Fact: The CNI plugin attaches pods to the network and assigns IPs. kube-proxy only implements Service virtual IPs, and some CNIs replace it entirely.

Myth: When the scheduler is down, pods show FailedScheduling events.

Fact: The opposite. FailedScheduling means the scheduler ran and found no node. Pending pods with no events at all are the sign that no scheduler is working.

How pros do it

  • Run three control-plane nodes across failure domains with API servers behind a load balancer; extra scheduler and controller-manager replicas are cheap because leases make exactly one active.
  • Alert on control-plane function, not host CPU: lease renewal age for scheduler and controller-manager, Deployments with Progressing=False, pods Pending with no events, API server error rate and latency, etcd fsync p99.
  • Restrict the paths the architecture assumes: etcd port 2379 only from API servers, kubelet port 10250 only from the API server and the metrics pipeline, and NodeRestriction admission so a kubelet can only modify its own node and pods.
  • Snapshot etcd on a schedule and rehearse a restore; the control plane is rebuildable from that snapshot and from nothing else.
  • Upgrade the control plane first and keep kubelets within the supported skew, never newer than the API server.
  • Start every control-plane incident with kubectl get --raw='/readyz?verbose', kubectl -n kube-system get lease, and the component logs, and say out loud whether the data plane is affected.

Questions people ask

If the API server is down, do my pods keep serving traffic?

Lead with 'yes, the data plane keeps running', then say why: the kubelet holds its pod specs locally, keeps containers running, restarts crashes and runs probes, and kube-proxy keeps the last Service rules. Then name what you lose: no deploys, scaling or status, and no endpoint updates for pods that die in the meantime. Saying the split between data plane and control plane before anything else is what the interviewer is listening for.

What actually happens when I run kubectl delete pod?

Answer it as a sequence with an actor for each step: the API server sets deletionTimestamp and the pod leaves EndpointSlices; the kubelet sees the change, runs preStop, sends SIGTERM, waits the grace period, then SIGKILL, and reports back; the API server removes the object. Then add the punchline: if a ReplicaSet owns it, that controller sees one replica missing and creates a new pod with a new name, because you changed actual state, not desired state.

How does the kubelet know which pods it should run?

Say 'it watches': the kubelet watches the API server for pods whose spec.nodeName equals its node, plus static pods it reads from /etc/kubernetes/manifests on disk. Add, unprompted, that it never receives instructions from the scheduler or from controllers directly; the scheduler only writes nodeName. That sentence shows you understand the hub.

On a managed cluster, which of these do I still operate?

Draw the line clearly: the provider runs the API server, etcd, scheduler and controller-manager; you own nodes, kubelet configuration, the CNI and other add-ons, and every workload. Then say you still see control-plane symptoms, slow kubectl or Pending pods when the provider's control plane struggles, so the mechanics matter even when you cannot log in to it.

Why can't I just read etcd to debug the cluster?

Say you can, with etcdctl on a control-plane node, but that objects are protobuf under /registry and you bypass RBAC and audit. Then say what you use instead: kubectl with -o yaml, events and the audit log answer almost every question; etcd inspection is for capacity and corruption work. The interviewer wants to hear that you prefer the API.

Is kube-proxy required?

Say no, and separate the two jobs: kube-proxy implements Service virtual IPs, while the CNI plugin gives pods their IPs and connectivity. eBPF-based CNIs such as Cilium can take over ClusterIP and NodePort handling entirely. Pod-to-pod connectivity was never kube-proxy's job, and saying so is the point.

Further reading

Drills · 7

Answer in your head, or out loud, before you reveal. Mark each one: "Again" brings it back, "Got it" counts on your desk.

1 Pick the strongest answer

Suppose kube-controller-manager has been down for ten minutes on a single-control-plane cluster and nobody noticed. What does the cluster look like: what still works and what does not?

  1. Existing pods keep running and kubectl works, but a deleted pod is not replaced and a Deployment scale-up creates no new pods. Replication, endpoints, node lifecycle, and garbage collection all live in the controller manager; the API server and scheduler still function, so reads and writes succeed but nothing reconciles.
  2. kubectl stops working because the controller manager serves the API. The API server serves the API; the controller manager is a client of it.
  3. All pods are evicted because their leases expire. The opposite: the node lifecycle controller is what evicts pods from dead nodes, and it is down.
  4. New pods cannot be scheduled because the scheduler depends on it. The scheduler is a separate component; directly created pods are still scheduled. Pods created via a Deployment are not, because the ReplicaSet controller never creates them.
In short

Pods keep running and kubectl works, but nothing reconciles: a deleted pod is not replaced and a scale-up creates no pods.

Why

Reasoning about which component is down means asking which loop stops. Controller manager down: desired state can be written, actual state stops converging. Scheduler down: pods are created but stay Pending. API server down: nothing can be read or written, yet kubelets keep running what they have. Interviewers use this to test whether you understand the architecture as loops rather than boxes.

The common mistake

Assuming a control-plane component outage takes workloads down. The data plane keeps running; what stops is change and self-healing, which is why this failure is so quiet.

Read the docs

2 Read the output

worker-b's kubelet has been unreachable for seven minutes. Walk me through what has happened to the two pods listed on it, and what has not.

$ kubectl get nodes
NAME        STATUS     ROLES    AGE   VERSION
worker-a    Ready      <none>   90d   v1.30.2
worker-b    NotReady   <none>   90d   v1.30.2
worker-c    Ready      <none>   90d   v1.30.2

$ kubectl get pods -o wide | grep worker-b
api-7c9d5f6b8-2xk4p   1/1   Running   0   3d   10.244.2.17   worker-b
web-59d8b7c-kq7zx     1/1   Running   0   3d   10.244.2.18   worker-b

$ kubectl describe node worker-b | grep -E "Ready|Kubelet"
  Ready   Unknown   ...  NodeStatusUnknown   Kubelet stopped posting node status.
  1. They are automatically live-migrated to worker-a and worker-c. Kubernetes never migrates pods; it deletes and recreates them via their controllers.
  2. Nothing happens until an operator drains the node. The controller manager handles it automatically after the timeout; drain is for planned maintenance.
  3. They may still be running on the node, but the control plane cannot know; after the eviction timeout (about 5 minutes) they are marked for deletion and their controllers create replacements elsewhere. The node lifecycle controller marks the node NotReady after 40 s without status and evicts pods after pod-eviction-timeout; the kubelet's actual containers may run on until it reconnects.
  4. They were killed the instant the node went NotReady. The control plane cannot kill anything on a node it cannot reach; it only updates API objects.
In short

The pods may still run on the node, but after about 5 minutes the control plane deletes them and their controllers make new ones elsewhere.

Why

NotReady is a statement about the kubelet's heartbeat, not about containers. The control plane reasons only from what it can observe, so it waits for a timeout, then declares the pods gone and lets ReplicaSets replace them. Meanwhile the real containers may still serve traffic, which is why Services drop the pods' endpoints when readiness cannot be confirmed.

The common mistake

Saying the pods are killed or migrated the moment the node goes NotReady. Kubernetes never migrates pods, and it cannot kill anything on a node it cannot reach; it waits, then deletes the objects.

Read the docs

3 Answer out loud

What actually happens between kubectl apply -f deployment.yaml and a running container? Name every component involved and what each one does, in order. Four to six sentences.

In short

A strong answer names each component in order and says each one watches the API server for its work instead of being called directly.

What a strong answer does
  • mechanism: kubectl authenticates to the API server; validation and admission; object persisted in etcd; Deployment controller creates a ReplicaSet, which creates pods; scheduler watches unscheduled pods and binds; kubelet on that node sees the pod via watch, pulls the image through the CRI, starts containers, and reports status; kube-proxy/CNI wire networking.
  • completeness: Names watches as the mechanism by which controllers, scheduler, and kubelet learn about work; mentions readiness feeding endpoints.
  • communication: Strict chronology, each component with a verb, no filler.
Why

Interviewers listen for the watch-based, declarative shape: nobody commands anyone; each component watches the API server for work that concerns it and reports back. Candidates who describe it as a pipeline of direct calls have not understood the architecture.

The common mistake

Narrating direct calls between components ('the scheduler starts the container on the node'). Everything goes through the API server and every component finds its own work by watch.

4 Pick the strongest answer

Quick architecture check: who actually talks to etcd? Does the scheduler or the kubelet ever read or write it directly?

  1. kube-controller-manager, because it owns the cluster's state. Controllers read and write objects through the API server like any other client.
  2. kube-scheduler, which stores its binding decisions. The scheduler creates a Binding through the API server.
  3. The kubelet on each node, which persists its pod status. The kubelet reports status to the API server; it has no etcd credentials.
  4. kube-apiserver; every other component, including the scheduler and kubelet, goes through the API server. The API server is etcd's sole client; this is what makes admission, authorization, and auditing possible in one place.
In short

Only kube-apiserver reads and writes etcd; every other component goes through the API server.

Why

The hub-and-spoke design is the whole point: the API server validates, admits, authorizes, and audits every change, and etcd is hidden behind it. When an interviewer asks "what talks to what", the crisp answer is that everything talks to the API server and only the API server talks to etcd.

Read the docs

5 Pick the strongest answer

You delete a Deployment-owned pod with kubectl delete pod api-7c9d5f6b8-2xk4p and a new one appears seconds later. What just happened?

  1. The scheduler re-created it from etcd's history. The scheduler only binds existing unscheduled pods.
  2. The ReplicaSet controller observed actual replicas (2) below desired (3) and created a replacement; the delete was a change to actual state, not desired state. Deleting a pod does not change the Deployment's spec; the controller converges actual state back to it.
  3. The API server refused the delete for owned pods and rolled it back. The delete succeeded; the new pod has a different suffix.
  4. The kubelet restarted the pod because of its restartPolicy. restartPolicy restarts containers within a pod; a deleted pod is gone and a new one has a new name.
In short

The ReplicaSet controller saw fewer pods than desired and created a new one, because deleting a pod does not change the desired state.

Why

This is the declarative model in one example: you changed reality, and a controller pushed reality back toward the declared intent. To actually remove the pod you change the intent (scale down or delete the Deployment). Interviewers use this to check that you think in desired versus actual state.

Read the docs

6 Scenario: what do you do next?

New deployments have stopped rolling out cluster-wide: kubectl apply succeeds, Deployments show the new revision, but no new pods appear and old pods are never replaced. Existing traffic is fine. kubectl get pods works. Nobody changed anything on the workers.

Step 1. Which component do you suspect, and how do you confirm quickly?

  1. kube-controller-manager: writes succeed but nothing reconciles. Check its pod/health and leader election lease (kubectl -n kube-system get lease kube-controller-manager, get pods -n kube-system). The symptom pattern (API works, no ReplicaSets/pods created) maps exactly to the controller layer; the lease shows whether any instance holds leadership.
  2. etcd: writes are being lost. kubectl apply succeeds and the objects are readable; etcd is persisting.
  3. kube-scheduler: pods are not being placed. If the scheduler were down you would see new pods stuck Pending; here no new pods exist at all.
  4. The container runtime on the workers. The pods never reach a node; the runtime is not in the path yet.

Step 2. The controller-manager pod is CrashLoopBackOff on the only control-plane node with unable to load client CA file: no such file. What is the mitigation?

  1. Restore the missing CA file (from the other control-plane node or backup) and let the static pod restart; verify the lease is acquired and a stuck Deployment progresses. Fix the exact failure, then confirm with the objective evidence (lease held, ReplicaSet created).
  2. Scale up the worker nodes. Capacity is irrelevant to a missing controller.
  3. Delete and recreate all Deployments to force them to roll. Nothing will create pods until the controller manager is back; you would only lose state.
  4. Restart the API server. The API server is healthy; restarting it adds an outage.

Step 3. Recovered. Which alert would have caught this in minutes rather than hours?

  1. Alert when kubectl returns errors. kubectl worked throughout; the failure was silent at the API layer.
  2. Alert on control-plane node CPU. CPU was fine; the component was crash-looping.
  3. Alert on the controller-manager leader lease age (no renewal) and on Deployments with Progressing=False / progressDeadline exceeded across the cluster. Symptom-based alerts for the control plane's actual job (reconciliation) catch any cause of this failure, not just this one.
In short

Suspect kube-controller-manager, check its lease and pod, restore the missing file, and alert on lease age and stalled Deployments.

Why

Diagnose by asking "which loop stopped": objects that exist but never converge means the reconciliation layer. Interviewers reward mapping symptoms to components before touching anything, and proposing alerts on the control plane's function rather than its resources.

Read the docs

7 Quick recall

Quick one: which node component actually starts the containers through the CRI and reports pod status back to the API server?

In short

The kubelet starts containers through the CRI and reports pod status to the API server.

Accepted

kubelet · the kubelet

Why

The kubelet watches for pods bound to its node, drives the container runtime through the CRI, runs probes, and reports status.

Next lesson Controllers and rollouts: reconciliation, ReplicaSets, and how a Deployment actually rolls
Drill · Control plane and node components
0:00

Loading…