mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
32 lines
731 B
JSON
32 lines
731 B
JSON
{
|
|
"apiVersion": "v1",
|
|
"kind": "Pod",
|
|
"metadata": {
|
|
"name": "glusterfs"
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "glusterfs",
|
|
"image": "nginx",
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/mnt/glusterfs",
|
|
"name": "glusterfsvol"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "glusterfsvol",
|
|
"glusterfs": {
|
|
"endpoints": "glusterfs-cluster",
|
|
"path": "kube_vol",
|
|
"readOnly": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|