← All notes

Attach cluster storage with a CSI volume driver

Answer: csi is the recommended volume type. It supports provisioning, snapshots, and cloning. Storage comes from an external driver that implements the Container Storage Interface. In the CSI spec, a Volume is a unit of storage made available inside a CO-managed container via CSI.

Kubernetes volume types

The volumes page also lists in-tree types such as hostPath, nfs, iscsi, and local. CSI volumes are out-of-tree volume plugins. Storage vendors develop those plugins outside the Kubernetes code base. A Pod or a PersistentVolume can use them. flexVolume is a deprecated exec-based plugin interface.

What the CSI spec defines

The spec calls the orchestration system a CO and the storage vendor an SP. The CO communicates with plugins using CSI service RPCs. A Block Volume appears as a block device inside the container. A Mounted Volume is mounted using the specified file system and appears as a directory inside the container. The recommended csi type relies on the driver to implement those RPCs.

| csi | Volume | |---|---| | csi volume | Kubernetes volume that uses an external CSI driver | | CO | Container orchestration system that calls CSI RPCs | | SP | Storage provider of the plugin | | Block or mounted volume | Block device or directory inside the container |

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, Volumes; CSI Specification, Container Storage Interface spec. CC-BY-4.0; Apache-2.0. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Volumes; CSI Specification, Container Storage Interface spec. CC-BY-4.0; Apache-2.0.

Cite this

Permanent ID: iil:note:6pnf5x0s

iinventedlight. 2026. "Attach cluster storage with a CSI volume driver." iinventedlight Library, iil:note:6pnf5x0s, version of 2026-11-19. https://iinventedlight.com/library/notes/kubernetes-csi-volumes/. License: CC-BY-4.0.

@misc{iil_note_6pnf5x0s,
  author = {{iinventedlight}},
  title = {{Attach cluster storage with a CSI volume driver}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-19},
  url = {https://iinventedlight.com/library/notes/kubernetes-csi-volumes/},
  note = {Permanent ID iil:note:6pnf5x0s. 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-csi-volumes.md.