Using Default StorageClasses
Explore how to use Kubernetes Default StorageClasses to automate dynamic provisioning of PersistentVolumes. Understand how the DefaultStorageClass admission controller assigns storage classes to PersistentVolumeClaims without a specified storageClassName. This lesson helps you manage storage more efficiently by leveraging cluster defaults in a real AWS environment.
Default StorageClasses
Working with dynamic provisioning simplifies a few things. Still, a user needs to know which volume type to use. While in many cases that is an important choice, there are often situations when a user might not want to worry about that. It might be easier to use the cluster administrator’s choice for volume types and let all claims that do not specify storageClassName get a default volume. We’ll try to accomplish that through one of the admission controllers.
Default StorageClass admission controllerController
Admission controllers intercept requests to the Kubernetes API server. We won’t go into the details of admission controllers since the list of those ...