Skip to content

Kubernetes Storage Providers⚓︎

On self-managed Kubernetes installations (MicroK8s, kubeadm, etc.), prokube provides persistent volume providers depending on the setup.

prokube provides a node-locale storage class named openebs-hostpath, backed by the OpenEBS LocalPV storage provider. PVs created with this storage class are stored on the local disk of the node where the pod is scheduled, are not accessible from other nodes, and therefore most useful for single-node setups.

On high-availability setups, prokube additionally provides a storage classes backed by the OpenEBS Mayastor storage provider:

  • mayastor-no-redundancy - a storage class with no redundancy, i.e. if a node fails, the data is lost.
  • mayastor-three-replicas - a storage class with three replicas, i.e. if a node fails, the data is still available. Please remember that replication is not a backup.

These storage classes are available from any node in the cluster.

The storage classes can then be used to create persistent volumes for all applications running on the cluster.

On managed Kubernetes installations, the storage classes are provided by the cloud provider.