github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/volumes/iscsi/iscsi.yaml (about) 1 --- 2 apiVersion: v1 3 kind: Pod 4 metadata: 5 name: iscsipd 6 spec: 7 containers: 8 - name: iscsipd-rw 9 image: kubernetes/pause 10 volumeMounts: 11 - mountPath: "/mnt/iscsipd" 12 name: iscsipd-rw 13 volumes: 14 - name: iscsipd-rw 15 iscsi: 16 targetPortal: 10.0.2.15:3260 17 portals: ['10.0.2.16:3260', '10.0.2.17:3260'] 18 iqn: iqn.2001-04.com.example:storage.kube.sys1.xyz 19 lun: 0 20 fsType: ext4 21 readOnly: true