For the complete documentation index, see llms.txt. This page is also available as Markdown.

K8S: PVC stuck in status “Terminating”

You need to patch the PVC to set the “finalizers” setting to null, this allows the final unmount from the node, and the PVC can be deleted.

kubectl patch pvc {PVC_NAME} -p '{"metadata":{"finalizers":null}}'

References:

Last updated