vSphere CSI

The main goal of vSphere CSI is to expose vSphere storage and features to Kubernetes users. It offers an in-tree volume driver that has been actively used by various Kubernetes as a service providers including on-prem. Cloud Native Storage (CNS) is a result of evolution and productization of vSphere Storage for Kubernetes and is also enterprise ready.

vSphere CSI Driver Components

The vSphere CSI driver includes the following components:

  • vSphere CSI Controller

  • vSphere CSI Node

  • Syncer

    • Metadata Syncer
    • Full Sync

Versions Supported

Notable Parameters

NameSupported ValuesDefault ValueDescription
diskformatthin, zeroedthick and eagerzeroedthickzeroedthickThe storage account type to use
datastoreDatastore NameIf specified, the volume will be created on the datastore specified in the storage class
isDefaultClasstrue, falsetrueFlag to denote if this StorageClass will be the default

References:

https://vsphere-csi-driver.sigs.k8s.io/

https://github.com/kubernetes-sigs/vsphere-csi-driver

Further Info

More info about Storage classes can be found in the following links:

https://kubernetes.io/docs/concepts/storage/storage-classes/

Troubleshooting

Storage classes created by Spectro will be with the name "spectro-storage-class" and can be fetched from kubectl using the following CLI command:

kubectl get storageclass