Created
May 21, 2019 18:42
-
-
Save ddebroy/98b5c58e5f4baa66731f93df0bb43cc9 to your computer and use it in GitHub Desktop.
Flexvolume iSCSI storage class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kind: StorageClass | |
| apiVersion: storage.k8s.io/v1 | |
| metadata: | |
| name: iscsi-targetd-win1 | |
| provisioner: iscsi-targetd | |
| parameters: | |
| # this id where the iscsi server is running | |
| targetPortal: 10.240.0.96:3260 | |
| # file system type for Windows | |
| fsType: NTFS | |
| # this is the iscsi server iqn | |
| iqn: iqn.2003-01.org.linux-iscsi.minishift:targetd | |
| # this is the iscsi interface to be used, the default is default | |
| # iscsiInterface: default | |
| # this must be on eof the volume groups condifgured in targed.yaml, the default is vg-targetd | |
| # volumeGroup: vg-targetd | |
| # this is a comma separated list of initiators that will be give access to the created volumes, they must correspond to what you have configured in your nodes. | |
| initiators: iqn.1991-05.com.microsoft:6763k8s001, iqn.1991-05.com.microsoft:6763k8s000 | |
| # whether or not to use chap authentication for discovery operations | |
| chapAuthDiscovery: "false" | |
| # whether or not to use chap authentication for session operations | |
| chapAuthSession: "false" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment