ISCSIVolumeSourcePatch

data class ISCSIVolumeSourcePatch(val chapAuthDiscovery: Boolean? = null, val chapAuthSession: Boolean? = null, val fsType: String? = null, val initiatorName: String? = null, val iqn: String? = null, val iscsiInterface: String? = null, val lun: Int? = null, val portals: List<String>? = null, val readOnly: Boolean? = null, val secretRef: LocalObjectReferencePatch? = null, val targetPortal: String? = null)

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

Constructors

Link copied to clipboard
constructor(chapAuthDiscovery: Boolean? = null, chapAuthSession: Boolean? = null, fsType: String? = null, initiatorName: String? = null, iqn: String? = null, iscsiInterface: String? = null, lun: Int? = null, portals: List<String>? = null, readOnly: Boolean? = null, secretRef: LocalObjectReferencePatch? = null, targetPortal: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

Link copied to clipboard

chapAuthSession defines whether support iSCSI Session CHAP authentication

Link copied to clipboard
val fsType: String? = null

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

Link copied to clipboard
val initiatorName: String? = null

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

Link copied to clipboard
val iqn: String? = null

iqn is the target iSCSI Qualified Name.

Link copied to clipboard
val iscsiInterface: String? = null

iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).

Link copied to clipboard
val lun: Int? = null

lun represents iSCSI Target Lun number.

Link copied to clipboard
val portals: List<String>? = null

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

Link copied to clipboard
val readOnly: Boolean? = null

readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.

Link copied to clipboard

secretRef is the CHAP Secret for iSCSI target and initiator authentication

Link copied to clipboard
val targetPortal: String? = null

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