Aller au contenu

Volumes

The Volumes page lists the persistent volumes (PVCs) in the current namespace: name, capacity, used space, storage class, status, and the pods using them.

The Used column (gauge + percentage) comes from the platform monitoring (Prometheus, kubelet metrics): it is only filled for a volume mounted by a pod; otherwise, or when monitoring is unavailable, it shows n/d.

Actions on a volume

The ⋮ menu to the right of each row groups together every action available for that volume:

Volume actions menu

Action Effect
Resize Increases the capacity (never a reduction — a Kubernetes limitation)
Create snapshot Freezes a point-in-time snapshot of the volume
Clone Creates a new volume, an independent copy of the original
Restore a snapshot Creates a new volume from an existing snapshot
Delete Deletes the volume — not possible if it's still attached to a pod

Use case: rolling back after a mistake

  1. Before the risky operation, take a snapshot of the volume in question.
  2. If something goes wrong, restore the snapshot to a new volume.
  3. In the application's Configure → Volumes, point the mount to this new volume — the application restarts on the restored data.

Note

Snapshots live in the cluster (not in S3): they protect against operator mistakes, not against loss of the cluster. For a true, externalized backup of databases, see Backup and restore.