# io.k8s.api.core.v1.ISCSIVolumeSource

From **Kubernetes**.

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

- Type: `object`

## Properties

### `chapAuthDiscovery`

- Required: false
- Type: `boolean`

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication

### `chapAuthSession`

- Required: false
- Type: `boolean`

chapAuthSession defines whether support iSCSI Session CHAP authentication

### `fsType`

- Required: false
- Type: `string`

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`

- Required: false
- Type: `string`

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`

- Required: true
- Type: `string`

iqn is the target iSCSI Qualified Name.

### `iscsiInterface`

- Required: false
- Type: `string`
- Default: `default`

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

### `lun`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

lun represents iSCSI Target Lun number.

### `portals`

- Required: false
- Type: `array`

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`

- Required: false
- Type: `boolean`

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

### `secretRef`

- Required: false
secretRef is the CHAP Secret for iSCSI target and initiator authentication

### `targetPortal`

- Required: true
- Type: `string`

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

## JSON Schema

```json
{"description":"Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.","properties":{"chapAuthDiscovery":{"description":"chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication","type":"boolean"},"chapAuthSession":{"description":"chapAuthSession defines whether support iSCSI Session CHAP authentication","type":"boolean"},"fsType":{"description":"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","type":"string"},"initiatorName":{"description":"initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface \u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.","type":"string"},"iqn":{"default":"","description":"iqn is the target iSCSI Qualified Name.","type":"string"},"iscsiInterface":{"default":"default","description":"iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).","type":"string"},"lun":{"default":0,"description":"lun represents iSCSI Target Lun number.","format":"int32","type":"integer"},"portals":{"description":"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).","items":{"type":"string"},"type":"array","x-kubernetes-list-type":"atomic"},"readOnly":{"description":"readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.","type":"boolean"},"secretRef":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.core.v1.LocalObjectReference"}],"description":"secretRef is the CHAP Secret for iSCSI target and initiator authentication"},"targetPortal":{"default":"","description":"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).","type":"string"}},"required":["targetPortal","iqn","lun"],"type":"object"}
```
