struct Kubernetes::ISCSIVolumeSource

Overview

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

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def chap_auth_discovery : Bool | Nil #

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication


def chap_auth_discovery=(chap_auth_discovery : Bool | Nil) #

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication


def chap_auth_session : Bool | Nil #

chapAuthSession defines whether support iSCSI Session CHAP authentication


def chap_auth_session=(chap_auth_session : Bool | Nil) #

chapAuthSession defines whether support iSCSI Session CHAP authentication


def 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


def 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


def initiator_name : String | Nil #

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


def initiator_name=(initiator_name : String | Nil) #

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


def iqn : String | Nil #

iqn is the target iSCSI Qualified Name.


def iqn=(iqn : String | Nil) #

iqn is the target iSCSI Qualified Name.


def iscsi_interface : String | Nil #

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


def iscsi_interface=(iscsi_interface : String | Nil) #

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


def lun : Int32 | Nil #

lun represents iSCSI Target Lun number.


def lun=(lun : Int32 | Nil) #

lun represents iSCSI Target Lun number.


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


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


def read_only : Bool | Nil #

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


def read_only=(read_only : Bool | Nil) #

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


def secret_ref : LocalObjectReference | Nil #

secretRef is the CHAP Secret for iSCSI target and initiator authentication


def secret_ref=(secret_ref : LocalObjectReference | Nil) #

secretRef is the CHAP Secret for iSCSI target and initiator authentication


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


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