mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 14:45:28 +00:00
54
examples/iscsi/v1beta3/iscsi.json
Normal file
54
examples/iscsi/v1beta3/iscsi.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"apiVersion": "v1beta3",
|
||||
"id": "iscsipd",
|
||||
"kind": "Pod",
|
||||
"metadata": {
|
||||
"name": "iscsi"
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user