Interview Prep/Kubernetes/Upgrades, Backup & Disaster Recovery

How does a restore of etcd on a multi-node cluster differ from single-node, and what are the pitfalls?

AdvancedProductionUpgrades, Backup & Disaster Recovery
Answer

All members must restore from the same snapshot to a fresh data dir with new cluster tokens and consistent --initial-cluster; starting one with old data splits history. Stop all API servers first so none writes during the restore, restart etcd, then API servers, and expect to resync kubelets. Objects created after the snapshot are lost, and node leases/controller states converge afterward.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Upgrades, Backup & Disaster Recovery