Beta This is a new service — your feedback will help us to improve it.

Persistent volumes

By default a DollarBox container has only the ephemeral disk that comes with the pod. If the container restarts or you change its image, anything written to that disk is lost. Persistent volumes give you real block storage that survives restarts and can be detached from one container and attached to another.

Pricing

€0.10 per GB per month, pro-rated. Capacity is pre-paid: you buy a pool of GB up front, and then carve volumes from it. The pool can be grown or shrunk at any time.

You only pay for the pool size, not the number of volumes. A 50 GB pool costs €5/month whether you split it into one 50 GB volume or ten 5 GB volumes.

How the pool works

Creating a volume

  1. Buy capacity at Volumes → Manage capacity in the control panel.
  2. Go to Volumes → New volume and enter a name and size in GB.
  3. The volume status moves from pendingprovisioningbound. Binding is fast (a few seconds) and the underlying Hetzner block-storage volume is created automatically.

Attaching to a container

When you create or edit a container, pick a volume from the Persistent volume dropdown and enter a Mount path (e.g. /data). The container's files at that path will persist across restarts.

Only unattached volumes appear in the dropdown — each volume can be attached to at most one container at a time (the underlying access mode is ReadWriteOnce).

Detaching and moving a volume

  1. Edit the container and set the volume back to "No volume".
  2. Restart the container so the new spec rolls out.
  3. The volume becomes selectable on any other container in the same org.

The data on the volume is untouched.

Limitations

kubectl mode

Tenants in kubectl mode can request volumes themselves:

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: data
spec:
  accessModes: [ReadWriteOnce]
  storageClassName: hcloud-volumes
  resources:
    requests:
      storage: 5Gi

The same pool capacity applies — your org must have unused GB in the pre-paid pool, or the PVC will be rejected by the namespace ResourceQuota.