PV and PVC in terminating status
if PV and PVC in terminating status and can not be deleted then you need to run the following commands
~# kubectl patch pvc registry-pvclaim -p ‘{“metadata”:{“finalizers”:null}}’
persistentvolumeclaim/registry-pvclaim patched
~# kubectl patch pv registry-volume -p ‘{“metadata”:{“finalizers”:null}}’
persistentvolume/registry-volume patched
~# kubectl patch pod docker-registry-3-n2wd6 -p ‘{“metadata”:{“finalizers”:null}}’
pod/docker-registry-3-n2wd6 not patched
~#
This entry was posted on Tuesday, February 11th, 2020 at 9:28 am and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.