Protecting cluster data using TMC
Kubernetes is widely used to run business-critical applications in production environments. In these cases, a reliable disaster recovery mechanism should be present to make regular cluster data and configuration backups and restore them in the event of data loss for any reason. Although Kubernetes is mostly used to run stateless workloads where the persistent data is stored outside the clusters in the databases, running stateful software, such as caches, queues, and databases, is also being adopted slowly. In Chapter 6, Managing Container Images with Harbor, the Harbor registry deployment used the data stores that were deployed on Kubernetes itself. That makes backing up data even more important.
So, to cover this important topic, we will learn how to make cluster backups and restore them using TMC with the following high-level steps:
- Configure an S3-compatible remote backup storage location.
- Configure a cluster to use the remote storage...