Storage Class
data class StorageClass(val allowVolumeExpansion: Boolean? = null, val allowedTopologies: List<TopologySelectorTerm>? = null, val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val mountOptions: List<String>? = null, val parameters: Map<String, String>? = null, val provisioner: String, val reclaimPolicy: String? = null, val volumeBindingMode: String? = null)
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.
Constructors
Link copied to clipboard
fun StorageClass(allowVolumeExpansion: Boolean? = null, allowedTopologies: List<TopologySelectorTerm>? = null, apiVersion: String? = null, kind: String? = null, metadata: ObjectMeta? = null, mountOptions: List<String>? = null, parameters: Map<String, String>? = null, provisioner: String, reclaimPolicy: String? = null, volumeBindingMode: String? = null)
Types
Properties
Link copied to clipboard
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.
Link copied to clipboard