struct

Kubernetes::ISCSIVolumeSource

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

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

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

chap_auth_discovery

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

Source
chap_auth_discovery=(chap_auth_discovery : Bool | Nil)

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

Source
chap_auth_session

chapAuthSession defines whether support iSCSI Session CHAP authentication

Source
chap_auth_session=(chap_auth_session : Bool | Nil)

chapAuthSession defines whether support iSCSI Session CHAP authentication

Source
fs_type

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

Source
fs_type=(fs_type : String | Nil)

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

Source
initiator_name

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.

Source
initiator_name=(initiator_name : String | Nil)

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.

Source
iqn

iqn is the target iSCSI Qualified Name.

Source
iqn=(iqn : String | Nil)

iqn is the target iSCSI Qualified Name.

Source
iscsi_interface

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

Source
iscsi_interface=(iscsi_interface : String | Nil)

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

Source
lun

lun represents iSCSI Target Lun number.

Source
lun=(lun : Int32 | Nil)

lun represents iSCSI Target Lun number.

Source
portals

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

Source
portals=(portals : Array(String) | Nil)

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

Source
read_only

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

Source
read_only=(read_only : Bool | Nil)

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

Source
secret_ref

secretRef is the CHAP Secret for iSCSI target and initiator authentication

Source
secret_ref=(secret_ref : LocalObjectReference | Nil)

secretRef is the CHAP Secret for iSCSI target and initiator authentication

Source
target_portal

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

Source
target_portal=(target_portal : String | Nil)

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

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source