You can deploy a generic Kubernetes cluster and persistent volumes on vSAN stretched clusters. If you already have Kubernetes deployments on a vSAN datastore, you can upgrade your deployments after enabling vSAN stretched clusters on the datastore.
Procedure
- Enable a vSAN stretched cluster.
- Deploy or upgrade Kubernetes and persistent volumes.
Option |
Description |
Deploy a Kubernetes cluster and persistent volumes on vSAN stretched clusters |
- Create a VM storage policy compliant with the vSAN stretched cluster requirements.
For information, see vSAN Stretched Cluster Design Considerations.
- Deploy Kubernetes VMs using the vSAN stretched cluster storage policy.
- Create a storage class using the vSAN stretched cluster storage policy.
- Deploy persistent volumes using the vSAN stretched cluster storage class.
|
Upgrade a Kubernetes cluster and persistent volumes on vSAN stretched clusters |
- Edit the existing VM storage policy used for provisioning volumes and node VMs on the vSAN cluster to add stretched cluster parameters.
- Apply updated storage policy on all objects.
- Apply updated storage policy on the persistent volumes that have Out of date status.
For information, see Monitor Container Volumes Across Kubernetes Clusters.
|