Cluster information:
Kubernetes version: v1.27.4
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: kubeadm
Host OS: Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
CNI and version: 10-weave.conflist
CRI and version: Containerd://1.6.21
Getting the same error as given in previous issue.
Error - “error getting deleter volume plugin for volume “pv-gogs-postgres”: no deletable volume plugin matched” Kindly suggest which will be helpful to understand the issue.
PV YAML FILE
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-gogs-postgres
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 20Gi
persistentVolumeReclaimPolicy: Delete
storageClassName: “manual”
nfs:
server: 192.168.0.60
path: /mydata
While deleting the PVC (gogs-pv-claim), getting error as given below
testuser@kmasterl:~/Gogs-postgres-pvc$ kubectl describe pv pv-gogs-postgres
Name: pv-gogs-postgres
Labels:
Annotations: pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: manual
Status: Failed
Claim: dev/gogs-pv-claim
Reclaim Policy: Delete
Access Modes: RWO
VolumeMode: Filesystem
Capacity: 20Gi
Node Affinity:
Message: error getting deleter volume plugin for volume “pv-gogs-postgres”: no deletable volume plugin matched
Source:
Type: NFS (an NFS mount that lasts the lifetime of a pod)
Server: 192.168.0.60
Path: /mydata
ReadOnly: false
Events:
Type Reason Age From Message
Warning VolumeFailedDelete 39s persistentvolume-controller error getting deleter volume plugin for volume “pv-gogs-postgres”: no deletable volume plugin matched
PVC YAML File
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gogs-pv-claim
namespace: dev
labels:
app: gogs
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 15Gi
storageClassName: “manual”
Continuing the discussion from Error getting deleter volume plugin for volume "nfs": no deletable volume plugin matched:
Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.