Back

Persistent storage options

Servers.com does not offer provider-specific storage options for Kubernetes at the moment. We suggest you to consider one of the following publicly available options.

Local Persistent Volumes

local persistent volume (LPV) represents a mounted local storage device such as a disk, partition or directory on a worker node. With the Local Persistent Volume plugin being shipped alongside Kubernetes, Kubernetes workloads can now consume high performance local storage using the same volume APIs that app developers have become accustomed to.

Kubernetes scheduler understands which node a Local Persistent Volume belongs to and ensures that a pod using a Local Persistent Volume is always scheduled to the same node. However, local volumes are still subject to the availability of the underlying node and are not suitable for all applications.

Please refer to the Kubernetes documentation for details and example configurations.

The "path" field in a PersistentVolume spec specifies an absolute path to the local storage device on a node. The recommended path in the Servers.com environment is "/mnt".

Please be aware that the following RAID configurations are used on your dedicated worker nodes:

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

The amount of disk space available on a single node can be found by using "kubectl describe nodes <NODENAME>" command.

Persistent volumes using volume plugins shipped with Kubernetes

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.

Persistent volumes using CSI-enabled plugins 

An industry standard called “Container Storage Interface” (CSI) allows storage vendors to develop plugins working across a number of container orchestration systems. Kubernetes has support for CSI 1.0. Check out a list of publicly available plugins.

Rook.IO - A storage orchestrator for Kubernetes 

Rook is an open source storage orchestrator for Kubernetes. Rook turns storage software, such as Ceph, into a self-managing, self-scaling, and self-healing storage service running on top of a Kubernetes cluster. Rook automates deployment, bootstrapping, configuration, provisioning, scaling, upgrading, migration, disaster recovery, monitoring, and resource management.

Please refer to the Rook's Ceph Storage Quickstart manual for the basic procedure of setting up of a Ceph cluster on top of your Kubernetes cluster.

Velero.io - Backup and disaster recovery tool for Kubernetes 

Velero is an open source tool to safely backup and restore, perform disaster recovery, and migrate Kubernetes cluster resources and persistent volumes. Read how it works on it's official website.

Share

Suggested Articles

  • Kubernetes clusters

    Software updates and upgrades

  • Kubernetes clusters

    Adding and removing worker nodes