2015-03-13 17:31:13 -04:00
|
|
|
{
|
2015-06-09 20:13:25 -04:00
|
|
|
"apiVersion": "v1",
|
2015-03-13 17:31:13 -04:00
|
|
|
"kind": "Pod",
|
|
|
|
|
"metadata": {
|
2015-05-11 20:48:17 -04:00
|
|
|
"name": "iscsipd"
|
2015-03-13 17:31:13 -04:00
|
|
|
},
|
|
|
|
|
"spec": {
|
|
|
|
|
"containers": [
|
|
|
|
|
{
|
|
|
|
|
"name": "iscsipd-ro",
|
|
|
|
|
"image": "kubernetes/pause",
|
|
|
|
|
"volumeMounts": [
|
|
|
|
|
{
|
|
|
|
|
"mountPath": "/mnt/iscsipd",
|
|
|
|
|
"name": "iscsipd-ro"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "iscsipd-rw",
|
|
|
|
|
"image": "kubernetes/pause",
|
|
|
|
|
"volumeMounts": [
|
|
|
|
|
{
|
|
|
|
|
"mountPath": "/mnt/iscsipd",
|
|
|
|
|
"name": "iscsipd-rw"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"volumes": [
|
|
|
|
|
{
|
|
|
|
|
"name": "iscsipd-ro",
|
|
|
|
|
"iscsi": {
|
2015-10-08 04:21:17 -04:00
|
|
|
"targetPortal": "10.0.2.15:3260",
|
|
|
|
|
"iqn": "iqn.2001-04.com.example:storage.kube.sys1.xyz",
|
2015-03-13 17:31:13 -04:00
|
|
|
"lun": 0,
|
|
|
|
|
"fsType": "ext4",
|
|
|
|
|
"readOnly": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "iscsipd-rw",
|
|
|
|
|
"iscsi": {
|
2015-10-08 04:21:17 -04:00
|
|
|
"targetPortal": "10.0.2.15:3260",
|
|
|
|
|
"iqn": "iqn.2001-04.com.example:storage.kube.sys1.xyz",
|
|
|
|
|
"lun": 1,
|
2015-06-19 11:49:41 -04:00
|
|
|
"fsType": "ext4",
|
2015-03-13 17:31:13 -04:00
|
|
|
"readOnly": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|