Persistent storage options

Managed Kubernetes supports several options for providing persistent storage to your workloads. You can use Servers.com Remote Block Storage (RBS), local storage on worker nodes, or other storage solutions supported by Kubernetes.

Remote Block Storage

Remote Block Storage (RBS) provides persistent storage for workloads running in Managed Kubernetes clusters. RBS integrates with Kubernetes through the RBS Container Storage Interface (CSI) driver.

Starting with Kubernetes 1.36, Servers.com automatically installs and manages the RBS CSI driver and provides the credentials required to access RBS.

In locations where RBS is available, an RBS StorageClass is created automatically. You can use it to request an RBS volume through a PersistentVolumeClaim without creating one manually.

It becomes the default only if the cluster has no existing default StorageClass. The OpenEBS option never sets OpenEBS as the default StorageClass.

To list the StorageClasses in your cluster, run kubectl get storageclass.

For information about configuring and using RBS, see Use RBS with Managed Kubernetes.

Local Persistent Volumes

A local persistent volume (LPV) plugin represents a mounted local storage device such as a disk, partition or directory on a worker node. Kubernetes includes built-in support for local persistent volumes, so workloads can use local storage through the standard persistent volume APIs.

The Kubernetes scheduler identifies the worker node that contains the local persistent volume and schedules Pods that use the volume on the same node. However, local volumes depend on the availability of the underlying worker node, so they may not be suitable for workloads that require storage to remain independent of a specific node.

For configuration details and examples, see the Kubernetes documentation.

The path field in the PersistentVolume specification defines the absolute path to the local storage device on a worker node. In the Servers.com environment, the recommended path is /mnt.

The following RAID configurations are used on dedicated worker nodes:

Number of disks in a bare-metal serverRAID configuration
2RAID 1
4RAID 10
> 4RAID 6

To check the amount of disk space available on a worker node, run: kubectl describe nodes <NODENAME>.

Other persistent storage options

Kubernetes volume plugins

Kubernetes comes with a number of plugins for persistent volume provisioning, including plugins for OpenStack Cinder and Ceph RBD. Please refer to the Kubernetes documentation for details and example configurations.

CSI plugins

The Container Storage Interface (CSI) enables storage vendors to develop storage plugins that integrate with Kubernetes. In addition to the RBS CSI driver provided by Servers.com, you can use compatible third-party CSI drivers.

For available drivers and configuration details, see the Kubernetes documentation.

Rook.IO

Rook is an open-source storage orchestrator for Kubernetes. It can be used to deploy and manage storage systems, such as Ceph, within a Kubernetes cluster.

For configuration instructions, see the Rook's Ceph Storage Quickstart manual.

Velero.io

Velero is an open-source tool for backing up and restoring Kubernetes cluster resources and persistent volumes. It can also be used for disaster recovery and cluster migration.

For configuration instructions, see the Velero documentation.

On this page