-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Filesystem resize skipped if original PVC is deleted when FilesystemResizePending but PV is retained #88683
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
Filesystem resize skipped if original PVC is deleted when FilesystemResizePending but PV is retained #88683
Comments
/sig storage |
/assign @gnufied |
So basically the reason this happened is because kubelet relies on size skew between |
There are multiple ways this could be fixed. One option is to add a finalizer to the PVC and have it removed when expansion is complete. Another option is - add an annotation to PV with old size after |
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. |
/assign |
@gnufied @xing-yang - planning to take the annotation approach mentioned by Hemant above. Will come up with draft PR with this approach and test it out. We can discuss further there. |
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. |
/triage accepted |
Uh oh!
There was an error while loading. Please reload this page.
What happened:
What you expected to happen:
Filesystem should be resized.
How to reproduce it (as minimally and precisely as possible):
PVC has FileSystemResizePending condition.
Anything else we need to know?:
Note: If the volume does not have a pre-existing filesystem before resize (without steps 3-5 above), filesystem will be created with the correct new size (at step 13 above).
Environment:
kubectl version
): v1.14.2 (Note: this is the setup I have currently, but this would happen in later versions such as 1.17 or later as well)cat /etc/os-release
):uname -a
):Linux k8-master-430 4.15.0-20-generic No scopes #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: