Which storage options are supported?
The Kubernetes storage options on Hetzner with Syself Autopilot are Hetzner Cloud Volumes, local disks on bare metal with TopoLVM, and S3-compatible object storage. The StorageClass for Hetzner Cloud Volumes is on every cluster and needs no setup.
- Hetzner Cloud Volumes (
standard, the default StorageClass): network block storage that Hetzner keeps in three copies. A volume attaches to one cloud node at a time and follows the pod to another cloud node in the same location. It does not attach to bare-metal nodes. Syself Autopilot installs and updates the driver. - Local disks with TopoLVM (
local-nvme,local-ssd,local-hdd): the disks inside a bare-metal server, and the fastest storage. A volume stays on its server and has no copy of its own, so use it together with a Kubernetes operator for the application, for example CloudNativePG for PostgreSQL. The operator handles replication, backups and failover, which is the closest you get to a managed service. You install TopoLVM yourself with the chart that Syself maintains. - Object storage over the S3 API: for uploads, backups and database archives. Use any S3-compatible endpoint, for example Hetzner Object Storage. It is not a StorageClass. The application talks to it directly.
For files that pods on different nodes write at the same time (ReadWriteMany), see How do we get shared RWX or NFS-style storage? For data that has to survive the loss of a server, see How do we get replicated, node-independent storage?
To pick one for your workload, start with Choose storage for a workload. For every class with its binding and reclaim settings, look at the Storage classes reference.
Related questions
