Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 2.91 KB

File metadata and controls

38 lines (31 loc) · 2.91 KB

V1ISCSIPersistentVolumeSource

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

Properties

Name Type Description Notes
chap_auth_discovery bool chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication [optional]
chap_auth_session bool chapAuthSession defines whether support iSCSI Session CHAP authentication [optional]
fs_type str 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 [optional]
initiator_name str 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. [optional]
iqn str iqn is Target iSCSI Qualified Name.
iscsi_interface str iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). [optional]
lun int lun is iSCSI Target Lun number.
portals List[str] 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). [optional]
read_only bool readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. [optional]
secret_ref V1SecretReference [optional]
target_portal str 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).

Example

from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource

# TODO update the JSON string below
json = "{}"
# create an instance of V1ISCSIPersistentVolumeSource from a JSON string
v1_iscsi_persistent_volume_source_instance = V1ISCSIPersistentVolumeSource.from_json(json)
# print the JSON string representation of the object
print(V1ISCSIPersistentVolumeSource.to_json())

# convert the object into a dict
v1_iscsi_persistent_volume_source_dict = v1_iscsi_persistent_volume_source_instance.to_dict()
# create an instance of V1ISCSIPersistentVolumeSource from a dict
v1_iscsi_persistent_volume_source_from_dict = V1ISCSIPersistentVolumeSource.from_dict(v1_iscsi_persistent_volume_source_dict)

[Back to Model list] [Back to API list] [Back to README]