Kubernetes: Can't delete PersistentVolumeClaim (pvc)

后端 未结 9 1746
無奈伤痛
無奈伤痛 2020-12-13 02:08

I created the following persistent volume by calling

kubectl create -f nameOfTheFileContainingTheFollowingContent.yaml

apiVersion: v1
ki         


        
9条回答
  •  长情又很酷
    2020-12-13 02:36

    in my case a pvc was not deleted because missing namespace (I deleted the namespace before deleting all resources/pvc) solution : create namespace with the same name as it was before and then I was able to remove the finalizers and finally pvc

提交回复
热议问题