This repository is archived. Please file in-tree vSphere Cloud Provider issues at https://github.com/kubernetes/kubernetes/issues . CSI Driver for vSphere is available at https://github.com/kubernetes/cloud-provider-vsphere
By directly specifying the datastore instead of the full datastore path.
But, few customers has asked to add support for provision volume based on space utilization and load balancing on available datastore from the datastore cluster, without specifying the datastore name in the storage class.
At present user can dynamically provision volumes on clustered datastore with specifying datastore name in the storage class.
For example,
Here, "DatastoreCluster/vsanDatastore" specifies vsanDatastore is the datastore on DatastoreCluster.
And here's the corresponding PVC:
Alternatively the following storage class definition also works
By directly specifying the datastore instead of the full datastore path.
But, few customers has asked to add support for provision volume based on space utilization and load balancing on available datastore from the datastore cluster, without specifying the datastore name in the storage class.
For example,