Interface IscsiVolumeSource

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

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-28T00:25:43.979Z")
    @Stability(Stable)
    public interface IscsiVolumeSource
    extends software.amazon.jsii.JsiiSerializable
    Represents an ISCSI disk.

    ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

    • Method Detail

      • getIqn

        @Stability(Stable)
        @NotNull
        String getIqn()
        iqn is the target iSCSI Qualified Name.
      • getLun

        @Stability(Stable)
        @NotNull
        Number getLun()
        lun represents iSCSI Target Lun number.
      • getTargetPortal

        @Stability(Stable)
        @NotNull
        String getTargetPortal()
        targetPortal is iSCSI Target Portal.

        The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

      • getChapAuthDiscovery

        @Stability(Stable)
        @Nullable
        default Boolean getChapAuthDiscovery()
        chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.
      • getChapAuthSession

        @Stability(Stable)
        @Nullable
        default Boolean getChapAuthSession()
        chapAuthSession defines whether support iSCSI Session CHAP authentication.
      • getFsType

        @Stability(Stable)
        @Nullable
        default String getFsType()
        fsType is the filesystem type of the volume that you want to mount.

        Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi

      • getInitiatorName

        @Stability(Stable)
        @Nullable
        default String getInitiatorName()
        initiatorName is the custom iSCSI Initiator Name.

        If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.

      • getIscsiInterface

        @Stability(Stable)
        @Nullable
        default String getIscsiInterface()
        iscsiInterface is the interface Name that uses an iSCSI transport.

        Defaults to 'default' (tcp).

        Default: default' (tcp).

      • getPortals

        @Stability(Stable)
        @Nullable
        default List<String> getPortals()
        portals is the iSCSI Target Portal List.

        The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

      • getReadOnly

        @Stability(Stable)
        @Nullable
        default Boolean getReadOnly()
        readOnly here will force the ReadOnly setting in VolumeMounts.

        Defaults to false.

        Default: false.

      • getSecretRef

        @Stability(Stable)
        @Nullable
        default LocalObjectReference getSecretRef()
        secretRef is the CHAP Secret for iSCSI target and initiator authentication.