Understanding Kubernetes backups
Backing up a Kubernetes cluster requires backing up not only the workloads running on the cluster but also the cluster itself. Remember that the cluster state is maintained in an etcd database, making it a very important component that you need to back up to recover from any disasters.
Creating a backup of the cluster and the running workloads allows you to do the following:
- Migrate clusters
- Create a development cluster from a production cluster
- Recover a cluster from a disaster
- Recover data from persistent volumes
- Namespace and deployment recovery
In this chapter, we will provide the details and tools to back up your etcd database and every namespace and object in the cluster.
Recovering a cluster from a complete disaster in an enterprise usually involves backing up custom SSL certificates for various components, such as Ingress controllers, load-balancers, and the API server.
Since...