Stage 3, Part 10 of 10 · p. 28, Control Plane Internals

Summary Cheat Sheet

ConceptKey Takeaway
API ServerFront door. Only component that talks to etcd.
etcdSingle source of truth. Raft consensus. Needs quorum.
Quorumfloor(N/2) + 1. 3 nodes = 1 failure. 5 nodes = 2 failures.
Odd numbersEven doesn't improve fault tolerance.
SchedulerFilter → Score → Bind. One Pod, one node.
Controller ManagerReconciliation loops. Leader election in HA.
AdmissionMutating first, then Validating.
Webhook failurePolicyFail = reject if down. Ignore = allow if down.
APFPriority and fairness for API server overload.
Leader ElectionLease object in kube-system. ~15s failover.
Version Skew3 minor versions for kubelet, 1 for apiserver.
Cert Rotationkubeadm certs renew.
etcd CompactionRemoves old revisions.
etcd DefragReclaims disk space.
Aggregation LayerExtends API with custom servers.

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