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:
https://github.com/kubernetes/kubernetes/issues/69697arrow-up-right
https://veducate.co.uk/kubernetes-pvc-terminating/arrow-up-right
Last updated 3 years ago