-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PVC created by storageclass does not support capacity expansion #121
Comments
+1 for being for accurate, it would be even more intersting to associate the volume requested size alligned with the S3 Bucket Quota and automatically managed by implementing the expand_volume (online / offline) capability. In the meantime, from the kubernetes side, it can be managed with the external-resizer. |
According to the instructions in https://github.com/kubernetes-csi/external-resizer, deploy deploy/kubernetes/rbac.yaml and deploy/kubernetes/deployment.yaml and then jump to PV and the following prompt appears I0805 05:47:02.406147 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:05.093922 1 controller.go:284] "Started PVC processing for resize controller" key="default/example-pvc"
I0805 05:47:05.094010 1 csi_resizer.go:120] "Skip resize PV" PV="pvc-030a311e-9f56-48db-aed3-c5604cfbc471" resizer="ru.yandex.s3.csi"
I0805 05:47:05.094023 1 controller.go:366] "Resizer doesn't support PV" controller="io.kubernetes.storage.mock" PV="pvc-030a311e-9f56-48db-aed3-c5604cfbc471"
I0805 05:47:05.094030 1 controller.go:341] "No need to resize PV" PV="pvc-030a311e-9f56-48db-aed3-c5604cfbc471"
I0805 05:47:07.412025 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:12.418410 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:17.423220 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:22.429880 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:27.434944 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:32.363980 1 reflector.go:808] k8s.io/client-go/informers/factory.go:160: Watch close - *v1.PersistentVolume total 11 items received
I0805 05:47:32.439585 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock
I0805 05:47:37.445906 1 leaderelection.go:281] successfully renewed lease kube-system/external-resizer-io-kubernetes-storage-mock The key field is |
After changing the PVC size and checking the PVC status, it is prompted that the plugin is not supported
Check the relevant documents, the CSI controller needs to have the EXPAND_VOLUME capability. Is it supported or how to enable this function?
The text was updated successfully, but these errors were encountered: