Every object in a Kubernetes cluster, from Deployments and Services to Secrets and ConfigMaps, is stored in one place: etcd . If that data is lost or corrupted, the cluster loses its memory. Your applications may keep running for a while, but you can no longer manage them.
Managed services like AKS, EKS and GKE protect this for you. On a self-managed cluster built with kubeadm, backing up etcd is your responsibility. This guide shows how to take a backup, how to restore it, and how to prove the restore works by running a controlled disaster drill. Every step says exactly which machine to run the command on .
A backup you have never restored is only a hope. The drill in this guide turns it into something you can trust.
A real incident: when about 200 control planes disappeared
This isn't a theoretical risk. On January 23, 2024, DigitalOcean's managed Kubernetes service (DOKS) had a serious outage in its Frankfurt region.…