Kubernetes
Storage Commands
Manage persistent data in Kubernetes. Learn about PersistentVolumes, PersistentVolumeClaims, StorageClasses, and how to provision storage for stateful applications.
5 commands
Pro Tips
Use StorageClasses with 'allowVolumeExpansion: true' to resize PVCs without data loss.
Set 'reclaimPolicy: Retain' on important StorageClasses to prevent data deletion when PVCs are removed.
Use 'kubectl get pv' to see all PersistentVolumes and their status (Available, Bound, Released).
Common Mistakes
Default 'reclaimPolicy: Delete' destroys the underlying storage when PVC is deleted. Use Retain for important data.
ReadWriteMany (RWX) access mode isn't supported by all storage providers. Check compatibility.