iSCSI ターゲットが特定に IQN に制限されている場合に、カスタムイニシエーターの iSCSI Qualified Name (IQN) を設定します。 ただし、iSCSI PV が割り当てられているノードが必ずこれらの IQN を使用する保証はありません。
apiVersion: v1
kind: PersistentVolume
metadata:
name: iscsi-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
iscsi:
targetPortal: 10.0.0.1:3260
portals: ['10.0.2.16:3260', '10.0.2.17:3260', '10.0.2.18:3260']
iqn: iqn.2016-04.test.com:storage.target00
lun: 0
initiatorName: iqn.2016-04.test.com:custom.iqn
fsType: ext4
readOnly: false
apiVersion : v1
kind : PersistentVolume
metadata :
name : iscsi- pv
spec :
capacity :
storage : 1Gi
accessModes :
- ReadWriteOnce
iscsi :
targetPortal : 10.0.0.1: 3260
portals : [ '10.0.2.16:3260' , '10.0.2.17:3260' , '10.0.2.18:3260' ]
iqn : iqn.2016- 04.test.com: storage.target00
lun : 0
initiatorName : iqn.2016- 04.test.com: custom.iqn 1
fsType : ext4
readOnly : false
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow