Kubernetes volume plugin based on CSI specification which support block storage of qingcloud
36
stars
22
forks
source link
[Bug]ControllerExpandVolume does not expanding disk according to stepSize defined in storageClass #200
Closed
cumirror closed 2 years ago
What happened: When the disk is expanded, the capacity is not expanded according to the step size defined by storageClass.
What you expected to happen: ControllerExpandVolume can expand disk correctly.
How to reproduce it (as minimally and precisely as possible):
then edit pvc's storage to 35G
Anything else we need to know?:
Here storageClass is a code template not the actual sc configuration: https://github.com/yunify/qingcloud-csi/blob/5c98bf2734919f92fb0e20a75f1af1e0f703d280/pkg/disk/rpcserver/controllerserver.go#L674
Environment: