i am not able to bound pv and pvc using follwoing config, can anyone tell what i miss ?
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: test4
provisioner: nfs
parameters:
server: 192.168.0.212
path: /test
readOnly: “false”
apiVersion: v1
kind: PersistentVolume
metadata:
name: test4
labels:
type: local
spec:
storageClassName: test4
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
nfs:
server: 192.168.0.212
path: “/test”
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: test4
spec:
storageClassName: test4
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 3Gi
log message:
Normal ExternalProvisioning 5s (x2 over 18s) persistentvolume-controller waiting for a volume to be created, either by external provisioner “nfs” or manually created by system administrator