forked from openshift-qe/docker-iscsi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpod-direct.json
38 lines (38 loc) · 999 Bytes
/
pod-direct.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "iscsi"
},
"spec": {
"containers": [
{
"name": "iscsi",
"image": "aosqe/hello-openshift",
"securityContext": {
"privileged": true
},
"imagePullPolicy": "IfNotPresent",
"volumeMounts": [
{
"mountPath": "/mnt/iscsi",
"name": "iscsi"
}
]
}
],
"volumes": [
{
"name": "iscsi",
"iscsi": {
"targetPortal": "#POD_IP#:3260",
"iqn": "iqn.2016-04.test.com:storage.target00",
"lun": 0,
"iface": "default",
"fsType": "ext4",
"readOnly": false
}
}
]
}
}