text
STEP 1: Check API server health
$ curl -k https://localhost:6443/healthz
$ kubectl get --raw /healthz
STEP 2: Check etcd health
$ etcdctl endpoint health --cluster
$ etcdctl endpoint status --cluster --write-out=table
STEP 3: Check control plane pods (if static pods)
$ crictl ps | grep -E "apiserver|etcd|scheduler|controller"
$ crictl logs <container-id>
STEP 4: Check control plane systemd units (if not static pods)
$ systemctl status kube-apiserver
$ systemctl status etcd
$ systemctl status kube-scheduler
$ systemctl status kube-controller-manager
STEP 5: Check certificates
$ kubeadm certs check-expiration
$ openssl x509 -in /etc/kubernetes/pki/apiserver.crt -noout -dates
STEP 6: Check etcd disk
$ df -h /var/lib/etcd
$ iostat -x 1 5 /dev/sdX
STEP 7: Check leader election
$ kubectl get leases -n kube-system
$ kubectl describe lease kube-scheduler -n kube-system
STEP 8: Check webhooks
$ kubectl get validatingwebhookconfigurations
$ kubectl get mutatingwebhookconfigurations
STEP 9: Check version skew
$ kubectl version
$ kubelet --version
STEP 10: Escalate
17. Blast Radius Analysis
What Happens When Control Plane Fails?
Component
Impact
Severity
etcd down
Cluster unrecoverable; all state lost
SEV-1
API server down
Can't manage cluster; Pods keep running
SEV-1
Scheduler down
New Pods stay Pending
SEV-2
Controller manager down
No reconciliation
SEV-2
One etcd node down
No impact (quorum maintained)
SEV-3
Two etcd nodes down (3-node cluster)
Quorum lost, cluster broken
SEV-1
The "Running Pods Keep Running" Guarantee
Key insight: If the control plane goes down, already-running Pods keep running. Kubelet doesn't need the API server to keep containers alive. You just can't make changes.
Mitigation Strategies
Strategy
Implementation
3-node etcd
Tolerates 1 failure
5-node etcd
Tolerates 2 failures
etcd backup
Regular snapshots
Certificate rotation
kubeadm or kucero
Webhook failurePolicy
Careful with Fail vs Ignore
APF
Protect against overload
1:1 copy of the class Google Doc, code in code blocks.