Interface CinderPersistentVolumeSource

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

    @Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)",
               date="2022-09-13T15:58:19.768Z")
    @Stability(Stable)
    public interface CinderPersistentVolumeSource
    extends software.amazon.jsii.JsiiSerializable
    Represents a cinder volume resource in Openstack.

    A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

    • Method Detail

      • getVolumeId

        @Stability(Stable)
        @NotNull
        String getVolumeId()
        volumeID used to identify the volume in cinder.

        More info: https://examples.k8s.io/mysql-cinder-pd/README.md

      • getFsType

        @Stability(Stable)
        @Nullable
        default String getFsType()
        fsType Filesystem type to mount.

        Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

      • getReadOnly

        @Stability(Stable)
        @Nullable
        default Boolean getReadOnly()
        readOnly is Optional: Defaults to false (read/write).

        ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

        Default: false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

      • getSecretRef

        @Stability(Stable)
        @Nullable
        default SecretReference getSecretRef()
        secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.