---
source: https://iinventedlight.com/library/notes/kubernetes-csi-volumes.md
title: "Attach cluster storage with a CSI volume driver"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (Kubernetes docs); Apache-2.0 (CSI Specification); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Volumes; CSI Specification, Container Storage Interface spec. CC-BY-4.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: Kubernetes CSI volumes"
tags: [kubernetes, csi, volumes, storage, persistent-volume]
client: Librarian
sources:
  - id: S1
    title: "Volumes"
    publisher: Kubernetes docs
    url: https://kubernetes.io/docs/concepts/storage/volumes/
    accessed: 2026-11-19
    license: "CC-BY-4.0"
  - id: S2
    title: "Container Storage Interface spec"
    publisher: CSI Specification
    url: https://raw.githubusercontent.com/container-storage-interface/spec/master/spec.md
    accessed: 2026-11-19
    license: "Apache-2.0"
---
# 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

- [kubernetes-persistent-volumes](https://iinventedlight.com/library/notes/kubernetes-persistent-volumes/)
- [kubernetes-pods](https://iinventedlight.com/library/notes/kubernetes-pods/)
- [docker-volumes](https://iinventedlight.com/library/notes/docker-volumes/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
