-
Notifications
You must be signed in to change notification settings - Fork 38.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
HostPath PV is stuck at terminating when claimed from StatefulSet #78106
Comments
/sig storage These SIGs are my best guesses for this issue. Please comment 🤖 I am a bot run by vllry. 👩🔬 |
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 Still valid |
What happened:
Trying to delete the deployment, but the PV is stuck at Terminating status forever. However claims made from Kind: Deployment and the PV claimed for it doesn't have any problem terminating successfully.
What you expected to happen:
All pods, services and PV disappear after terminating.
How to reproduce it (as minimally and precisely as possible):
Make a claim for it from StatefulSet
Anything else we need to know?:
Ofcourse as suggested in bugReport solves the issue.
But this creates two problem.
1, I am not able to redploy the same chart without manually deleting these PVs as the chart produces the same PV names.
2, After I manually delete the PVs, I change the name of PV on the chart and redeploy. But the Kubernetes assigns the OLD PV that doesn't exist anymore to my Claim. THIS MEANS THAT THE ABOVE STEP DOESN'T REMOVE THE PV COMPLETELY.
Any insight would be appreciated! Thanks
@saad-ali
@childsb
The text was updated successfully, but these errors were encountered: