-
Notifications
You must be signed in to change notification settings - Fork 159
NodeExpand may resize fs for block volume #372
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
Comments
Just to confirm, the intended behavior is: |
correct |
okay, I have file a bug against CSI for adding the capability - container-storage-interface/spec#380 |
Actually I am wondering if we can solve majority of this problem, without making a change in CSI specs. See when volume is of type raw-block the I think it may still be worth adding capability to |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
VolumeCapability was added (container-storage-interface/spec#381) so this should be easy to skip now |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
VolumeCapabilities are now passed into resize call as part of external-resizer v0.5.0. |
What is the status of this ticket please? |
/assign |
Great to see that GA Driver project is all done. |
Once it's completely rolled out in GKE, which will start in rapid channel and eventually reach the stable channel, we will update the GKE documentation. It will take a few weeks to reach stable as it needs to first soak in rapid, then regular channels. |
Did we wanted to expand this functionality and return |
@msau42 I am using GKE CSI beta today, just want to make sure. Is there going to be upgrade pass from PVC that were created via the GKE CSI beta to the GAed CSI version? Do I need to take any action in order to get the CSI GAed version while running on GKE? Thanks |
@shay-berman no changes needed. The GA driver is compatible with the beta. The only action you may need to take is to upgrade your GKE cluster to get the GA driver if you are not on a release channel. |
Looking back at
resizer.Resize
implementation, it checks the format on the disk before attempting a resize. The problem is, the presence of a filesystem doesn't mean that the PVC is a Filesystem type. A user could mount the volume as Block and manage an ext4/xfs filesystem themselves.I think fixing this may require adding VolumeCapabilities to the Controller/NodeExpandVolumeRequest
/kind bug
/assign @davidz627
cc @gnufied
The text was updated successfully, but these errors were encountered: