PersistentVolumeClaim resizing fails with "volume plugin does not support resize" on vSphere
Issue
-
When I was trying to expand the existing PVC, I've got an error and this happens even if the
AllowVolumeExpansion
flag is set toTRUE
in theStorageClass
:Could not save persistent volume claim 'jenkins' Reason: persistentvolumeclaims "jenkins" is forbidden: volume plugin does not support resize" [..] $ oc describe sc vsphere-standard Name: vsphere-standard IsDefaultClass: Yes Annotations: storageclass.kubernetes.io/is-default-class=true Provisioner: kubernetes.io/vsphere-volume Parameters: datastore=EXAMPLE_Datastore AllowVolumeExpansion: True MountOptions: <none> ReclaimPolicy: Delete VolumeBindingMode: Immediate Events: <none>
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3.11
- 4
- In-tree vSphere volumes
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.