StorageClass [page]deterministic
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
`apiVersion: storage.k8s.io/v1`
`import "k8s.io/api/storage/v1"`
## StorageClass {#StorageClass}
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>allowVolumeExpansion</code><br/><em>boolean</em></td> <td>allowVolumeExpansion shows whether the storage class allow volume expand.</td> </tr> <tr> <td><code>allowedTopologies</code><br/><em><a href="">TopologySelectorTerm array</a></em></td> <td>allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.</td> </tr> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>mountOptions</code><br/><em>string array</em></td> <td>mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.</td> </tr> <tr> <td><code>parameters</code><br/><em>object</em></td> <td>parameters holds the parameters for the provisioner that should create volumes of this storage class.</td> </tr> <tr> <td><code>provisioner</code> <strong>*</strong><br/><em>string</em></td> <td>provisioner indicates the type of the provisioner.</td> </tr> <tr> <td><code>reclaimPolicy</code><br/><em>string</em></td> <td>reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.<br/><br/>Possible enum values:<br/> - `"Delete"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.<br/> - `"Recycle"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.<br/> - `"Retain"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.</td> </tr> <tr> <td><code>volumeBindingMode</code><br/><em>string</em></td> <td>volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.<br/><br/>Possible enum values:<br/> - `"Immediate"` indicates that PersistentVolumeClaims should be immediately provisioned and bound. This is the default mode.<br/> - `"WaitForFirstConsumer"` indicates that PersistentVolumeClaims should not be provisioned and bound unt …(trimmed)