-
Notifications
You must be signed in to change notification settings - Fork 13
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 clone: the size of underlying volume does not match the PVC #48
Comments
I have managed to resize the volume in call I have submitted a issue to community to address this issue kubernetes-csi/external-resizer#131 And I also looked at other open source CSI drivers, they don't have a solution for such case either. For example, ceph. They will force user to specify an exact same size for the new PVC, otherwise an |
This is a very general and popular problem, not only neonsan-csi, but also qingcloud-csi and many other csi drivers have this problem too. See the comments in kubernetes-csi/external-resizer#131, a discussion is ongoing about this with the K8S SIG-STORAGE team and CSI SPEC team. Currently there is no conclusion/decision and ETA. I will NOT fix this issue or change any code util the above discussion has a closure. We will keep current behaviour. |
Please check latest csi spec and the progress of kubernetes-csi/external-resizer#131. Regarding this issue, the decision is NOT allow cloning a volume to large size. User must start a new resize request after cloning done if expansion is needed. |
source pvc's size is 4Gi:
clone pvc's size is 6Gi:
after clone, pvc info:
after clone, clone volume size is 4Gi not 6Gi:
After cloning is complete, the size of underlying storage volume should be consistent with the requested PVC.
The text was updated successfully, but these errors were encountered: