Skip to main content

How do we get replicated, node-independent storage?

Syself support For release

Replicated storage for Kubernetes on Hetzner comes from the database itself or from Hetzner Cloud Volumes:

  • Databases: run a database operator such as CloudNativePG on bare-metal nodes with local NVMe. The operator replicates the data across servers and handles failover and backups. No network storage sits under the database, so this is the fastest option and the closest you get to a managed database. The local volumes come from TopoLVM, which you install yourself with the Syself chart.
  • Other workloads: use the default standard StorageClass, which ships with every cluster. It creates a Hetzner Cloud Volume, and Hetzner stores every block on three different physical servers. When the pod moves, the volume reattaches to the new node. A volume attaches only to Hetzner Cloud worker nodes in the volume's location, not to bare-metal nodes.

A Cloud Volume follows the pod, but only one pod uses it at a time. A single database pod on a Cloud Volume is therefore down while its node is replaced. If the database has to stay writable through a node replacement, run replicas under an operator.

A storage layer that replicates volumes across the nodes' own disks, such as Longhorn, needs extra steps so that its data survives when a node is replaced. See Longhorn and node replacement.

To compare the options for your workload, start with Choose storage for a workload. For a database, also read Keep databases available.

Still stuck?

Prepare your case, then email us.