-
Notifications
You must be signed in to change notification settings - Fork 110
Is there support for force deleting persistent volumes? #62
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
You can do a |
Thanks, that worked! |
This works great. It clears out the PV but how can we prevent this from happening in the future? This seems a bit hacky. |
I ran into same issue and tried to force delete PVC and PV as both were stuck into Terminating state for a while. I don't have feature-gate PVCprotection enabled still "Finalizers: [kubernetes.io/pvc-protection]" got added to PVC/PV config. Is that a bug ? |
I'm experiencing #32 on only one pod (a similar one works), so I tried to delete the persistent volume claim, then force delete the persistent volume itself (a manual delete didn't work and it's been stuck Terminating for more than an hour).
From the logs I see:
which stays in place even when I detach the volume and delete manually. Is there any way to "purge" a persistent volume? Thanks!
The text was updated successfully, but these errors were encountered: