[root@master pv]# kubectl get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE pv1 1Gi RWO Recycle Bound default/pvc-nfs 29h pv2-nfs 2Gi RWO Recycle Terminating default/pvc2-nfs 27h
状态一直是 Terminating
直接删除k8s中的记录:
patch pv pv2-nfs -p '{"metadata":{"finalizers":null}}'