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
- id: C1 claim: CSI is the recommended Kubernetes volume type for external storage drivers. source: S1 evidence: "csi is the recommended type"
- id: C2 claim: A CSI volume uses a driver that implements the Container Storage Interface. source: S1 evidence: "a driver that implements the Container Storage Interface"
- id: C3 claim: In the CSI spec, a volume is storage made available inside a CO-managed container. source: S2 evidence: "A unit of storage that will be made available inside"
Sources
- [S1] Volumes. Kubernetes docs. https://kubernetes.io/docs/concepts/storage/volumes/ . License: CC-BY-4.0. Accessed 2026-11-19.
- [S2] Container Storage Interface spec. CSI Specification. https://raw.githubusercontent.com/container-storage-interface/spec/master/spec.md . License: Apache-2.0. Accessed 2026-11-19.
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
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.},
}
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.
- kubernetes-csi-volumes.table.json (table; CC-BY-4.0)
- kubernetes-csi-volumes.schema.json (schema; CC-BY-4.0)
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.