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.
- Value parameters:
- allowVolumeExpansion
AllowVolumeExpansion shows whether the storage class allow volume expand
- 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.
- mountOptions
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
- parameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
- provisioner
Provisioner indicates the type of the provisioner.
- reclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
- volumeBindingMode
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.
- Companion:
- object
Value members
Concrete methods
AllowVolumeExpansion shows whether the storage class allow volume expand
AllowVolumeExpansion shows whether the storage class allow volume expand
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
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.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Provisioner indicates the type of the provisioner.
Provisioner indicates the type of the provisioner.
This effect always succeeds, it is safe to use the field provisioner directly.
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
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.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
- Value parameters:
- kind
Owner's resource kind
- ownerName
Owner's name
- ownerType
Owner's resource type metadata
- ownerUid
Owner's UID
- Returns:
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the geneation of the object or 0 if it is new
- Inherited from:
- K8sObjectOps
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from:
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from:
- K8sObjectOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
- Inherited from:
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
- Type parameters:
- OwnerT
Type of the owner resource
- Value parameters:
- owner
Possible owner of this resource
- Returns:
True if owner owns this resource
- Inherited from:
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
- Value parameters:
- f
Function to modify the object's metadata with
- Returns:
Object with modified metadata
- Inherited from:
- K8sObjectOps
Gets the metadata of the object
Gets the metadata of the object
- Inherited from:
- K8sObjectOps
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
- Type parameters:
- OwnerT
Type of the owner
- Value parameters:
- owner
Owner resource
- Returns:
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps