I could not get documentation on manual storageclasses and kubernetes.io/no-provisioner provisioner type. Could some one please explain them

2

There are 2 best solutions below

0
Hemanth Kumar On BEST ANSWER

Manual storage classes are nothing but a Kubernetes storage mechanism that lets you dynamically provision persistent volumes (PV) in a Kubernetes cluster. Kubernetes administrators define classes of storage, and then pods can dynamically request the specific type of storage.

Whereas "Provisioner" is used especially when dynamic provisioning is involved. kubernetes.io/no-provisioner is one of the plugins from the storage plugins. This is a storage class that can be used as default when local persistent volumes are manually provisioned. This also indicates that no dynamic provisioning should occur for a specific StorageClass. Essentially, it means that the user is responsible for manually creating PersistentVolumes for any claims that use this StorageClass.

Refer to this Kubernetes StorageClass: Concepts and Common Operations authored by Yifat Perry and official documentation on storage class.

0
gohm'c On

...could not get documentation on manual storageclasses

An arbitrary name as it does not require CSI driver to provision volume. It's a name that you can used in PV/PVC without actually create a StorageClass for it. Checkout the official example here.

If you are interested in how a StorageClass like this might look like:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: manual
provisioner: kubernetes.io/no-provisioner