Skip to main content
Module

x/helmet/mod.ts>IoK8sApiStorageV1StorageClass

Type-safe Helm - the right way to do Infrastructure as Code in Kubernetes
Go to Latest
class IoK8sApiStorageV1StorageClass
Re-export
import { IoK8sApiStorageV1StorageClass } from "https://deno.land/x/helmet@1.16.4/mod.ts";

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

new
IoK8sApiStorageV1StorageClass()

Properties

optional
allowedTopologies: Array<IoK8sApiCoreV1TopologySelectorTerm>

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.

optional
allowVolumeExpansion: boolean

AllowVolumeExpansion shows whether the storage class allow volume expand

optional
apiVersion: string

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

optional
kind: string

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

optional
metadata: IoK8sApimachineryPkgApisMetaV1ObjectMeta
optional
mountOptions: Array<string>

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.

optional
parameters: { [key: string]: string; }

Parameters holds the parameters for the provisioner that should create volumes of this storage class.

provisioner: string

Provisioner indicates the type of the provisioner.

optional
reclaimPolicy: string

Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.

optional
volumeBindingMode: string

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.

Static Properties

readonly
attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>
readonly
discriminator: string | undefined