CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

Volume Snapshots

A snapshot is three objects with the same shape as PVC, PV and StorageClass. Restoring means creating a new PVC with the snapshot as its dataSource, which is a copy, not a rewind. And a crash-consistent snapshot of a running database is not a backup.

Storage Guide 74 of 103 Advanced

Written against the versions above. The snapshot API is `snapshot.storage.k8s.io/v1`, served by CRDs from the external-snapshotter project rather than by core Kubernetes.

Snapshots are taken by the driver, so both the original and the restored volume live wherever the hostpath driver runs.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Three objects, in a shape you already know

  2. Take a snapshot

  3. Restore, and see that it is a copy

  4. The snapshot outlives its source

  5. Why this is not a backup

Official sources