-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Handle recovery from resize failure #73036
Comments
I honestly don't see (1) as a problem. This is how everything in kubernetes works. (2) Is the case that interests me. As long as the actual size doesn't change, it should be legal to "cancel" the resize request by changing the spec size back to the old value. Or as you say, retry a resize with a smaller increment. I think we also want to think about future compatibility with a volume-shrink feature. It's inevitable that users will ask for it, and it's inevitable that at least a subset of implementers will want to implement it. Assuming we allow the feature to happen, we'll want the interface to work straightforwardly. |
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. |
Stale issues rot after 30d 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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@gnufied: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@gnufied do you know how to cancel volume resize? e.g. current size is 4TB, and resize to 6TB failed, how can I change back to 4TB? |
@gnufied https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1790-recover-resize-failure#recovery-from-volume-expansion-failure |
Currently when resize fails of a volume it keeps retrying indefinitely. This leads to two problems:
Unnecessary API usage for an action that is not going to succeed (for example when you are out of quota on cloud provider or out of bricks on glusterfs).
Sometimes user may want to retry volume expansion with lower value. For example - my current PVC is of 12GB and I tried to expand it to 40GB. But that failed. Now I want to retry volume expansion with 20GB except I can’t.
/sig storage
cc @bswartz @saad-ali
The text was updated successfully, but these errors were encountered: