Storage Classes and Dynamic Provisioning
Let Kubernetes create storage on demand with StorageClasses, so PersistentVolumeClaims are fulfilled automatically without manual PersistentVolumes.
The Static Provisioning Pain
With static provisioning an admin must pre-create a PersistentVolume for every claim. That does not scale and wastes capacity when claims do not match exactly.
Enter Dynamic Provisioning
A StorageClass describes a kind of storage and a provisioner. When a PVC requests that class, Kubernetes creates a matching PersistentVolume automatically.
All lessons in this course
- Persistent Volumes & Persistent Volume Claims
- Managing Stateful Applications with StatefulSets
- ConfigMaps & Secrets for Configuration
- Storage Classes and Dynamic Provisioning