Running a cluster, topic 56 of 61
Backing up etcd
etcd holds every object in the cluster, so losing it loses the cluster. Take snapshots with etcdctl snapshot save, giving it the endpoint and the certificates etcd uses, keep them off the machine, and practise a restore before you need one.
A snapshot holds the objects, not the data in your volumes: those need backups of their own, with a tool such as Velero. On a managed service the provider backs up etcd for you.
On Opsfolk
- Certified Kubernetes Administrator (CKA)Certification