A self-managed (kubeadm) cluster's control plane is down: `kubectl` times out and etcd won't start on two of three masters. How do you recover?
AdvancedScenarioOutages and incident response
Answer
Situation read → etcd needs a majority (2 of 3). With two members down, it has no quorum, the API server can't serve, but running workloads usually keep running. Don't panic-reboot the nodes.
What I'd do →
- Check why etcd fails on each node: disk full, expired certificates (
kubeadm certs check-expiration), clock skew, or corrupted data.
journalctl -u kubelet --since "30 min ago" | tail -50
crictl ps -a | grep etcd
kubeadm certs check-expiration
- If it's fixable (disk, certs), fix it and bring members back; quorum returns at 2 of 3.
- If data is lost on the failed members, remove and re-add them from the healthy member, or as a last resort restore the whole cluster from the latest snapshot:
etcdutl snapshot restore /backup/etcd-2026-11-08.db --data-dir /var/lib/etcd-restored
- After recovery, check the workloads changed since the snapshot and let GitOps reconcile.
- Prevent: certificate expiry alerts, etcd on dedicated fast disks, regular snapshots, and consider a managed control plane.
Why → Understanding quorum tells you that the data plane is likely still serving, so you can recover carefully rather than rush.
Interview tip → Expired kubeadm certificates (one year by default) are a classic cause; mention it.
More on Outages and incident response
You're on call and get paged at 3 AM: "Checkout error rate 25%". What do you do in the first 15 minutes?BeginnerA major outage involves four teams and everyone is talking at once. You're asked to be incident commander. What do you do?IntermediateHow do you prove your platform survives the loss of a whole Availability Zone?AdvancedOn-call gets 300 alerts a day and people have started ignoring them. How do you fix alerting?IntermediateA customer told you about an outage on social media before your monitoring did. How do you fix detection?BeginnerDuring an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?Intermediate