You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
We have a few datastore clusters that I’d like to allocate individual Storage Classes for (one is SSD, one is HHD). I’m unable to get this to work, but it does work when I use a specific datastore under the datastore cluster.
I notice on govc I can see the datastore cluster under datastores/ but specifying it to kubernetes unfortunately yields a ‘Failed to provision volume with StorageClass "test-cluster": datastore 'DatastoreCluster/IT-EntApp-HHD-NonSSD' not found’
I also tried feeding it the following values with no luck:
Hi @Joeskyyy,
Currently vSphere cloud Provider(VCP) doesn't have support for using datastore clusters directly in the storage class definition for provisioning persistent volumes. The user has to specify the datastore name in the storage class definition.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
I'm having issues using datastore clusters for dynamic PVCs on vSphere for our kubernetes clusters based on this documentation: https://vmware.github.io/vsphere-storage-for-kubernetes/documentation/storageclass.html
We have a few datastore clusters that I’d like to allocate individual Storage Classes for (one is SSD, one is HHD). I’m unable to get this to work, but it does work when I use a specific datastore under the datastore cluster.
It’s worth noting we’re running vCenter 5.5 currently.
I notice on govc I can see the datastore cluster under
datastores/
but specifying it to kubernetes unfortunately yields a ‘Failed to provision volume with StorageClass "test-cluster": datastore 'DatastoreCluster/IT-EntApp-HHD-NonSSD' not found’I also tried feeding it the following values with no luck:
'datastore/IT-EntApp-HHD-NonSSD'
'IT-EntApp-HHD-NonSSD'
'/MyCompany/datastore/IT-EntApp-HHD-NonSSD'
It's also worth noting that using a datastore directly does work (e.g. one under the datastore cluster)
What you expected to happen: To be able to use a DatastoreCluster to use for dynamic PVC
How to reproduce it (as minimally and precisely as possible):
Here's my StorageClass that I'm trying to get working:
And here's the corresponding PVC:
Anything else we need to know?: N/A
Environment:
kubectl version
): 1.8.10uname -a
):Linux $HOST 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: