Storage, topic 25 of 61
Persistent volumes and claims
A PersistentVolumeClaim asks for storage of a size and access mode, such as ReadWriteOnce. A StorageClass says how to provision it, and creates a PersistentVolume, a real disk, when a claim needs one. The Pod mounts the claim and never needs to know which disk it got.
Learn the access modes, the reclaim policy, which says whether the disk is kept or deleted with its claim, and volumeBindingMode: WaitForFirstConsumer, which creates the disk in the zone the Pod lands in.
On Opsfolk
- CKA practice: Advanced Kubernetes administrationQuiz, 40 questionsSigned-in members
Elsewhere
- Persistent volumesOfficial
- Storage classesOfficial