Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:1.18.3
Cloud being used: ecloud
Installation method: kubeadm
Host OS: centos7.6
CNI and version:
CRI and version:
1、 i create one static nfs pv with Delete recycle policy
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs
spec:
capacity:
storage: 1Mi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Delete
nfs:
server: 10.0.0.5
path: "/nginx"
2、 but when i delte pvc ,the pv can not be deleted, it in failed status
[root@master nfs]# kubectl describe pv nfs
Name: nfs
Labels: <none>
Annotations: pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass:
Status: Failed
Claim: default/nfs
Reclaim Policy: Delete
Access Modes: RWX
VolumeMode: Filesystem
Capacity: 1Mi
Node Affinity: <none>
Message: Error getting deleter volume plugin for volume "nfs": no deletable volume plugin matched
Source:
Type: NFS (an NFS mount that lasts the lifetime of a pod)
Server: 10.0.0.5
Path: /nginx
ReadOnly: false
Events: <none>
3、 is it means , if you create one static pv with no volume plugin , it can not support delete recycle policy ?