Stage 3, Part 8 of 10, Control Plane Internals

Text

PART 8: INTERVIEW PREPARATION

36. Junior-Level Questions

QuestionExpected Answer
What are the control plane components?apiserver, etcd, scheduler, controller-manager
What does the API server do?Front door, REST API, only component that talks to etcd
What does etcd store?All cluster state
What does the scheduler do?Assigns Pods to Nodes
What does the controller manager do?Runs reconciliation loops

37. Mid-Level Questions

QuestionExpected Answer
What is the request flow?AuthN → AuthZ → Admission → etcd
What is quorum?Majority of etcd nodes
Why odd number of etcd nodes?Even numbers don't improve fault tolerance
What is a mutating webhook?Modifies objects before validation
What is APF?API Priority and Fairness — flow control

38. Senior-Level Questions

QuestionExpected Answer
How do you recover from etcd quorum loss?Restore from snapshot
What causes etcd leader election storms?Network latency > election-timeout
How do you tune etcd?heartbeat-interval, election-timeout, disk I/O
What is version skew?Supported version differences between components
How do you rotate control plane certificates?kubeadm certs renew all

39. Staff/Principal Questions

QuestionExpected Answer
Design a 99.99% control plane.3-node HA, multi-AZ, etcd backups, certificate rotation
How do you migrate from single to HA control plane?kubeadm join, rebalance etcd, test failover
How do you handle control plane disaster recovery?etcd snapshots, documented restore, regular drills
How do you secure the control plane?RBAC, audit logging, encryption at rest, certificate rotation
How do you scale the API server?More replicas, APF, load balancer

1:1 copy of the class Google Doc, code in code blocks.