Fork me on GitHub

Module storage/v1

@pulumi/kubernetes > storage > v1

Index

types/input.ts types/output.ts

function isStorageClass

isStorageClass(o: any): boolean

function isStorageClassList

isStorageClassList(o: any): boolean

interface 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.

property allowVolumeExpansion

allowVolumeExpansion: boolean;

AllowVolumeExpansion shows whether the storage class allow volume expand

property apiVersion

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/api-conventions.md#resources

property kind

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/api-conventions.md#types-kinds

property metadata

metadata: ObjectMeta;

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

property 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.

property parameters

parameters: { ... };

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

property provisioner

provisioner: string;

Provisioner indicates the type of the provisioner.

property reclaimPolicy

reclaimPolicy: string;

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

property volumeBindingMode

volumeBindingMode: string;

VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is alpha-level and is only honored by servers that enable the VolumeScheduling feature.

interface StorageClassList

StorageClassList is a collection of storage classes.

property apiVersion

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/api-conventions.md#resources

property items

items: StorageClass[];

Items is the list of StorageClasses

property kind

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/api-conventions.md#types-kinds

property metadata

metadata: ListMeta;

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata