My PVC is in lost state so I tried to delete the PVC but I am getting the PVC not found error how to clear this issue
please find the below screen shots.
pvc listed
Based on the screeshots that you have shared, I could see your PVC is in jenkins
namespace. But you are running kubectl delete pvc jenkins-pv-claim
command in default
namespace.
To resolve this error, you have to run kubectl
command in jenkins
namespace
kubectl delete pvc jenkins-pv-claim -n jenkins