PV,PVC deletion steps:
First PVC followed by PV.
kubectl patch pvc <pvc_name> -p '{"metadata":{"finalizers":null}}'
kubectl delete pvc <pvc_name> --grace-period=0 --force
kubectl patch pv <pv_name> -p '{"metadata":{"finalizers":null}}'
kubectl delete pv <pv_name> --grace-period=0 --force
PVC = Persistent volume claim (used by application).
PV = Persistent Volume.(underlying volume)
No comments:
Post a Comment