Hello Everyone,
I am new to kubernetes and trying to learn by making mistakes
I would need your help in fixing my issue here, Thankyou
I created a storage class of provisioner - no provisioner
StorageClass.yml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: local-storage
provisioner: kubernetes.io/no-provisioner
Then attempted to create a PVC and make it bounded to the storage class with the binding type immediate (as Storage Class will automatically create PV, I didn’t create any PV)
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: myclaim
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
storageClassName: local-storage
But landed in a error while creating PVC, got an error in the describe event section as
no volume plugin matched name: kubernetes.io/no-provisioner.
Cluster information:
Kubernetes version: v1.19.1
Cloud being used: Baremetal
Installation method: Kind
Host OS: Linux
CNI and version: kindest/kindnetd:v20200725-4d6bea59
CRI and version: ## Not sure how to find , need your assistance here