Container Storage Cheat Sheet

Persistent volumes, CSI, and snapshots

Last Updated: November 21, 2025

Volume Types

Type Usage
PersistentVolume Cluster storage
PersistentVolumeClaim Pod binding
StorageClass Provisioner + reclaim
CSI Cloud plugins

Commands

kubectl get pv,pvc
Inspect claims
kubectl apply -f storage.yaml
Create storage class
kubectl describe pvc
View bound PV

Guidance

Prefer read-only mounts for shared data and clean orphaned PVCs.

💡 Pro Tip: Monitor capacity, enforce quotas, and snapshot before maintenance.
← Back to DevOps & Cloud | Browse all categories | View all cheat sheets