Skip to main content
Schemaobject

io.k8s.api.core.v1.ISCSIVolumeSource

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

Source
specs/apis__batch__v1_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
chapAuthDiscovery boolean
optional

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

chapAuthSession boolean
optional

chapAuthSession defines whether support iSCSI Session CHAP authentication

fsType string
optional

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

initiatorName string
optional

initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.

iqn string
required

iqn is the target iSCSI Qualified Name.

iscsiInterface string
optional

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

lun integer (int32)
required

lun represents iSCSI Target Lun number.

portals array
optional

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

readOnly boolean
optional

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

secretRef
optional

secretRef is the CHAP Secret for iSCSI target and initiator authentication

targetPortal string
required

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