This topic provides you with considerations for backing up and restoring workloads running on TKG Service clusters.
Backing Up and Restoring TKG Service Clusters
To backup and restore TKG clusters, you backup the Supervisor database. Doing so lets you restore vSphere Namespaces objects and TKG cluster node VMs.
You enable Supervisor backup and restore using the vCenter Server backup feature available through the vCenter Server Management Interface. For details, refer to the backup restore publication for the vSphere IaaS control plane.
Backing Up and Restoring Workloads Running on TKG Service Clusters
Scenario | Tool | Comments |
---|---|---|
Back up stateless and stateful workloads on a TKG cluster on Supervisor and restore to a TKG cluster on Supervisor. |
Velero Plugin for vSphere See Backup and Restore Workloads Using Velero Plugin for vSphere. |
Both Kubernetes metadata and persistent volumes can be backed up and restored. Velero snapshotting is used for persistent volumes with stateful applications. Requires that the Velero Plugin for vSphere is also installed and configured on Supervisor. |
Back up stateless and stateful workloads on a TKG cluster on Supervisor and restore to a conformant Kubernetes cluster. |
Standalone Velero and Restic See Backup and Restore TKG Cluster Workloads on Supervisor Using Standalone Velero with Restic . |
Both Kubernetes metadata and persistent volumes can be backed up and restored. Restic is used for persistent volumes with stateful applications. Use this approach if you require portability. |
Back up stateless and stateful workloads on a TKG cluster on Supervisor and restore to a conformant Kubernetes cluster. | Standalone Velero with CSI snapshotting |
Requires vSphere 8.0 U2+ and TKr v1.26+ for vSphere 8.0. |