liveBook · Manning

Container Storage Interface

As explained in Acing the Certified Kubernetes Administrator Exam, Second Edition

The Container Storage Interface is a standard for exposing storage operations from container orchestrators to storage implementations.

The Container Storage Interface (CSI) standardizes how storage providers integrate with Kubernetes and other container orchestrators. Its vendor-neutral, out-of-tree plugin model lets external CSI drivers handle operations such as attaching, mounting, formatting, and snapshotting volumes without changing Kubernetes core code. section 2.3.3

Use CSI through the cluster’s available storage interfaces:

  • List installed drivers with kubectl get csidrivers. section 2.3.3
  • List storage-provisioning mechanisms with kubectl get storageclasses. section 2.3.3
  • Work with StorageClasses, PersistentVolumes, and PersistentVolumeClaims when completing Kubernetes storage tasks. section 2.3.3

Verify CSI support

Run kubectl get csidrivers to identify installed CSI drivers, then run kubectl get storageclasses to see the storage-provisioning options available for a PersistentVolumeClaim. section 2.3.3

Competency
Chapter section
Prepare underlying infrastructure for installing a Kubernetes cluster
2.1
Create and manage Kubernetes clusters using
2.1
Manage the lifecycle of Kubernetes clusters
2.2
Understand extension interfaces (container network interface, container storage interface, and container runtime interface, etc.)
2.3

Map CSI to the Kubernetes cluster architecture and the extension-interface competency. section 2.0

How Acing the Certified Kubernetes Administrator Exam, Second Edition covers it

How deep it goes
Explains the out-of-tree plugin model and volume operations, then stops short of installing a CSI driver from scratch.
Examples
Uses kubectl get csidrivers and kubectl get storageclasses to inspect drivers and storage-provisioning mechanisms.
What it assumes
Assumes familiarity with Kubernetes clusters and introduces CSI alongside the CRI and CNI extension interfaces.
What you can do after
Operate/configure Kubernetes storage by identifying CSI drivers and selecting StorageClasses for PersistentVolumeClaims.
How it connects
Connects CSI with Kubernetes, StorageClasses, PersistentVolumes, PersistentVolumeClaims, CRI, and CNI.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Certified Kubernetes Administrator Exam, Second Edition. The section links point to the parts of the book it draws on.