2015-03-13 21:31:13 +00:00
|
|
|
{
|
2015-06-10 00:13:25 +00:00
|
|
|
"apiVersion": "v1",
|
2015-03-13 21:31:13 +00:00
|
|
|
"kind": "Pod",
|
|
|
|
"metadata": {
|
2015-05-12 00:48:17 +00:00
|
|
|
"name": "iscsipd"
|
2015-03-13 21:31:13 +00: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": {
|
|
|
|
"targetPortal": "10.16.154.81:3260",
|
|
|
|
"iqn": "iqn.2014-12.world.server:storage.target01",
|
|
|
|
"lun": 0,
|
|
|
|
"fsType": "ext4",
|
|
|
|
"readOnly": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "iscsipd-rw",
|
|
|
|
"iscsi": {
|
|
|
|
"targetPortal": "10.16.154.81:3260",
|
|
|
|
"iqn": "iqn.2014-12.world.server:storage.target01",
|
|
|
|
"lun": 1,
|
|
|
|
"fsType": "xfs",
|
|
|
|
"readOnly": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|