Class StorageClassArgs
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.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.Storage.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class StorageClassArgs : ResourceArgs
Properties
View SourceAllowedTopologies
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.
Declaration
public InputList<TopologySelectorTermArgs> AllowedTopologies { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TopologySelectorTermArgs> |
AllowVolumeExpansion
AllowVolumeExpansion shows whether the storage class allow volume expand
Declaration
public Input<bool> AllowVolumeExpansion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ApiVersion
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
Declaration
public Input<string> ApiVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Kind
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
Declaration
public Input<string> Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Declaration
public Input<ObjectMetaArgs> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ObjectMetaArgs> |
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.
Declaration
public InputList<string> MountOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Parameters
Parameters holds the parameters for the provisioner that should create volumes of this storage class.
Declaration
public InputMap<string> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Provisioner
Provisioner indicates the type of the provisioner.
Declaration
public Input<string> Provisioner { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReclaimPolicy
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.
Declaration
public Input<string> ReclaimPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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.
Declaration
public Input<string> VolumeBindingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |