mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 16:50:23 +00:00
42 lines
985 B
JSON
42 lines
985 B
JSON
|
{
|
||
|
"apiVersion": "v1",
|
||
|
"kind": "Pod",
|
||
|
"metadata": {
|
||
|
"name": "rbd2"
|
||
|
},
|
||
|
"spec": {
|
||
|
"containers": [
|
||
|
{
|
||
|
"name": "rbd-rw",
|
||
|
"image": "kubernetes/pause",
|
||
|
"volumeMounts": [
|
||
|
{
|
||
|
"mountPath": "/mnt/rbd",
|
||
|
"name": "rbdpd"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"volumes": [
|
||
|
{
|
||
|
"name": "rbdpd",
|
||
|
"rbd": {
|
||
|
"monitors": [
|
||
|
"10.16.154.78:6789",
|
||
|
"10.16.154.82:6789",
|
||
|
"10.16.154.83:6789"
|
||
|
],
|
||
|
"pool": "kube",
|
||
|
"image": "foo",
|
||
|
"user": "admin",
|
||
|
"secretRef": {
|
||
|
"name": "ceph-secret"
|
||
|
},
|
||
|
"fsType": "ext4",
|
||
|
"readOnly": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|