MetaKube installs Storage Classes by default that are backed by cloud storage and work out of the box:
|Cloud Provider||Storage Class name||Provisioner|
If you want to change which StorageClass is the default, just add the annotation:
kubectl annotate storageclass <storageclass name> storageclass.kubernetes.io/is-default-class=true
MetaKube will automatically remove the annotation from the managed StorageClass.
MetaKube Core currently does not support RWX volumes.
We are evaluating options that will enable the use of RWX volumes.
Follow our roadmap to receive updates.
Kubernetes differentiates three options for
spec.storageClassName in a PVC (or indirectly in a StatefulSets'
null or equivalent: not specifying the field at all
Kube-apiserver will automatically populate the field with the name of the default StorageClass.
We recommend this option if possible, because it allows switching the default StorageClass without recreating a StatefulSet.
Name of a specific StorageClass
Kubernetes will use the CSI driver of the StorageClass to provision a PV according to the PVC.
"" (the empty string)
This option is reserved for "manual" PV provisioning.
Kubernetes will not dynamically create a PV and the PVC will be left in status
Pending until a matching PV is created.