buy tb500

PV and PVC in terminating status

Contents

[ hide ]


    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

    ~#

    Leave a Reply