Interface KubeStorageClassProps

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    KubeStorageClassProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.88.0 (build eaabd08)",
               date="2023-09-11T06:17:58.720Z")
    @Stability(Stable)
    public interface KubeStorageClassProps
    extends software.amazon.jsii.JsiiSerializable
    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.

    • Method Detail

      • getProvisioner

        @Stability(Stable)
        @NotNull
        String getProvisioner()
        Provisioner indicates the type of the provisioner.
      • getAllowedTopologies

        @Stability(Stable)
        @Nullable
        default List<TopologySelectorTerm> getAllowedTopologies()
        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.

      • getAllowVolumeExpansion

        @Stability(Stable)
        @Nullable
        default Boolean getAllowVolumeExpansion()
        AllowVolumeExpansion shows whether the storage class allow volume expand.
      • getMetadata

        @Stability(Stable)
        @Nullable
        default ObjectMeta getMetadata()
        Standard object's metadata.

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

      • getMountOptions

        @Stability(Stable)
        @Nullable
        default List<String> getMountOptions()
        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.
      • getParameters

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getParameters()
        Parameters holds the parameters for the provisioner that should create volumes of this storage class.
      • getReclaimPolicy

        @Stability(Stable)
        @Nullable
        default String getReclaimPolicy()
        Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.

        Defaults to Delete.

        Default: Delete.

      • getVolumeBindingMode

        @Stability(Stable)
        @Nullable
        default String getVolumeBindingMode()
        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.