Storage Class
A storage class in Kubernetes is a way to define the characteristics and capabilities of a storage resource within a cluster. It allows you to define different kinds of storage offered by different storage systems. By abstracting the details of the underlying storage solution, storage classes enable developers to request storage without needing to know how it is implemented. For more detailed information, you can refer to the official Kubernetes documentation on Storage Classes.
Terraform Mappings:
kubernetes_storage_class.metadata[0].name
kubernetes_storage_class_v1.metadata[0].name
Supported Methods​
GET
: Get a Storage Class by nameLIST
: List all Storage ClassesSEARCH
: Search for a Storage Class using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")