January 2019
Intermediate to advanced
484 pages
11h 48m
English
PVC a degree of flexibility for persistent volume management. However, pre-allocating some persistent volume pools might not be cost-efficient, especially in a public cloud.
Kubernetes also assists in this kind of situation by supporting dynamic provisioning for persistent volumes. The Kubernetes administrator defines the provisioner of the persistent volume, which is called StorageClass. Then, the PVC asks StorageClass to dynamically allocate a persistent volume, and then associates it with the PVC as follows:

In the following example, AWS EBS is used as the StorageClass. When creating the PVC, the
Read now
Unlock full access