32 lines
742 B
JSON
32 lines
742 B
JSON
|
{
|
||
|
"apiVersion": "v1",
|
||
|
"kind": "Pod",
|
||
|
"metadata": {
|
||
|
"name": "glusterfs"
|
||
|
},
|
||
|
"spec": {
|
||
|
"containers": [
|
||
|
{
|
||
|
"name": "glusterfs",
|
||
|
"image": "kubernetes/pause",
|
||
|
"volumeMounts": [
|
||
|
{
|
||
|
"mountPath": "/mnt/glusterfs",
|
||
|
"name": "glusterfsvol"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"volumes": [
|
||
|
{
|
||
|
"name": "glusterfsvol",
|
||
|
"glusterfs": {
|
||
|
"endpoints": "glusterfs-cluster",
|
||
|
"path": "kube_vol",
|
||
|
"readOnly": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|