apiVersion: v1
kind: Pod
metadata:
  name: my-iscsi-pod
spec:
  restartPolicy: Always
  containers:
  - name: my-iscsi-pod
    image: nginx
    volumeMounts:
      - name: iscsi-test
        mountPath: /mnt
  volumes:
  - name: iscsi-test
    iscsi:
      targetPortal: 192.168.3.84:3260
      iqn: iqn.2003-01.org.linux-iscsi.ubuntu.x8664:sn.688109fa3d99
      fsType: ext4
      lun: 0
      readOnly: false

