Restoring VKS cluster workloads using Velero
search cancel

Restoring VKS cluster workloads using Velero

book

Article ID: 447390

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

This article provides guidance on recovering a VMware vSphere Kubernetes Service (VKS) cluster from backups using Velero.  It addresses the restoration of namespaces and associated configurations.

Environment

  • VMware vSphere Kubernetes Service (VKS)
  • Velero CLI 1.17 or higher

Resolution

  • A new VKS cluster will need to be created, and the existing namespaces will need to be restored.

  • Install the Velero CLI on a management machine.  For instructions, review the following documentation:

  • Restore the required namespaces using the Velero restore command:

    • velero restore create --from-backup <BACKUP-NAME> --include-namespaces <NAMESPACE>

  • Verify that all Persistent Volume Claims (PVCs) and Services are correctly provisioned in the new cluster.

  • Update any environment-specific configurations, such as LoadBalancer IP annotations or StorageClass mappings, if the new cluster environment differs from the source.

  • For detailed steps on specific workload types, review the following documentation:

Additional Information

Velero is a third-party tool. For advanced troubleshooting, refer to the Velero Documentation: