Start backing up and restoring your Kubernetes clusters with VMware Cloud Director Object Storage Extension.

Backing up your clusters allows data to be restored from an earlier point in time if an unplanned event occurs. You can back up your entire Kubernetes cluster, or part of a cluster by backing up certain namespaces, labels, or custom parameters, such as ordered resources.

VMware Cloud Director Object Storage Extension supports backup and restore of Tanzu Kubernetes Grid clusters of VMware Cloud Director Container Service Extension and external clusters. If you have activated VMware Cloud Director Container Service Extension, all guest Kubernetes clusters are automatically listed under Unprotected Clusters in the Kubernetes tab. You can activate protection for these clusters individually. You can also add external clusters through the kubconfig files.

VMware Cloud Director Object Storage Extension uses Velero, an open source tool, to back up and restore your Kubernetes resources and persistent volumes. From version 2.2.1, VMware Cloud Director Object Storage Extension supports any persistent volumes types that Velero supports.

You can back up and restore Kubernetes resources and persistent volumes by namespace or label.

You can back up and restore entire clusters, except for resources within the namespaces kube-system and velero-$tenantId. If there are damaged resources in the kube-system and velero-$tenantId namespaces, the cluster might not restore successfully.

From VMware Cloud Director Object Storage Extension 2.2.2, you can migrate your data between the clusters and perform disaster recovery across regions.

The Velero backup and restore depends on the File System that you are using and it has limitations, for example:
  • hostPath PV is not supported.
  • emptyDir PV is not supported.

For more information, see https://velero.io/docs/main/file-system-backup/#limitations.

Figure 1. VMware Cloud Director Object Storage Extension Kubernetes cluster backup and restore workflow
The diagram shows how VMware Cloud Director Object Storage Extension uses Velero to backup and restore your Kubernetes clusters.