← All notes

Kubernetes VolumeSnapshot - point-in-time copies of PersistentVolumeClaims with CSI

Answer: Define a VolumeSnapshot with persistentVolumeClaimName set to the PersistentVolumeClaim data source for the snapshot. Snapshots give a standardized way to copy a volume at a point in time, without a whole new volume; they need a CSI driver with snapshot support.

Example

apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
  name: new-snapshot-test
spec:
  volumeSnapshotClassName: csi-hostpath-snapclass
  source:
    persistentVolumeClaimName: pvc-test

The three objects

| API resource | Similar to | |---|---| | VolumeSnapshot | A user request for a snapshot, similar to a PersistentVolumeClaim | | VolumeSnapshotContent | A snapshot taken from a volume in the cluster, like a PersistentVolume | | VolumeSnapshotClass | Attributes for snapshots that a StorageClass cannot express |

Requirements

Provisioning

Restore and delete

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Volume Snapshots; kubernetes/website (GitHub), volume-snapshots.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Volume Snapshots; kubernetes/website (GitHub), volume-snapshots.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:tddgxkea

iinventedlight. 2026. "Kubernetes VolumeSnapshot - point-in-time copies of PersistentVolumeClaims with CSI." iinventedlight Library, iil:note:tddgxkea, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-volume-snapshots/. License: CC-BY-4.0.

@misc{iil_note_tddgxkea,
  author = {{iinventedlight}},
  title = {{Kubernetes VolumeSnapshot - point-in-time copies of PersistentVolumeClaims with CSI}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-volume-snapshots/},
  note = {Permanent ID iil:note:tddgxkea. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-volume-snapshots.md.