Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface KubeStorageClassProps

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.

schema

io.k8s.api.storage.v1.StorageClass

Hierarchy

  • KubeStorageClassProps

Index

Properties

Optional Readonly allowVolumeExpansion

allowVolumeExpansion: boolean

AllowVolumeExpansion shows whether the storage class allow volume expand

schema

io.k8s.api.storage.v1.StorageClass#allowVolumeExpansion

Optional Readonly allowedTopologies

allowedTopologies: TopologySelectorTerm[]

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.

schema

io.k8s.api.storage.v1.StorageClass#allowedTopologies

Optional Readonly metadata

metadata: ObjectMeta
schema

io.k8s.api.storage.v1.StorageClass#metadata

Optional Readonly mountOptions

mountOptions: 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.

schema

io.k8s.api.storage.v1.StorageClass#mountOptions

Optional Readonly parameters

parameters: {}

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

schema

io.k8s.api.storage.v1.StorageClass#parameters

Type declaration

  • [key: string]: string

Readonly provisioner

provisioner: string

Provisioner indicates the type of the provisioner.

schema

io.k8s.api.storage.v1.StorageClass#provisioner

Optional Readonly reclaimPolicy

reclaimPolicy: string

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

default

Delete.

schema

io.k8s.api.storage.v1.StorageClass#reclaimPolicy

Optional Readonly volumeBindingMode

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.

schema

io.k8s.api.storage.v1.StorageClass#volumeBindingMode

Generated using TypeDoc