Skip to content

Instantly share code, notes, and snippets.

@rootfs
Created March 16, 2018 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rootfs/a8799ee64ff5f564f162be3d30535930 to your computer and use it in GitHub Desktop.
Save rootfs/a8799ee64ff5f564f162be3d30535930 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: PersistentVolume
metadata:
name: csi-iscsi-pv
labels:
name: csi-iscsi-pv
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 100Gi
csi:
driver: csi-iscsiplugin
volumeHandle: iscsi-data
volumeAttributes:
targetPortal: <your target portal>
iqn: <your IQN>
lun: <your lun>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment