As a DevOps engineer, verify that the namespace you use for stateful services in the vSphere with Tanzu environment has appropriate storage classes. The storage classes can be vSAN Shared-Nothing-Architecture (SNA) and vSAN Direct.
The vSAN Data Persistence platform automatically creates these storage classes in the namespace after a vSphere administrator enables the stateful service. See Enable Stateful Services for vSphere with Tanzu.
- ♦ Verify that the storage policies to be used with vSAN SNA and vSAN Direct are available in your namespace.
# kubectl get sc NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE sample-vsan-direct-thick csi.vsphere.vmware.com Delete WaitForFirstConsumer true 3m36s sample-vsan-sna-thick csi.vsphere.vmware.com Delete WaitForFirstConsumer true 13m