Storage class definition

Latest response

I would like to create a storage class for vSphere thin storage.

Looking at the install-config.yaml I need to provide at least the following parameters for this to work.
- vcenter
- username
- password
- datacenter
- defaultDatastore
- folder

I created a storage class with these parameters, but when I create a PVC with it the claim remains 'Pending' and in the events I get the error 'failed to provision volume with storageclass "thin": cloud provider not initialized properly'.

Some of these parameters might have to be stored in secrets.

Responses