mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
41 lines
688 B
JSON
41 lines
688 B
JSON
|
{
|
||
|
"kind": "Pod",
|
||
|
"apiVersion": "v1",
|
||
|
"metadata": {
|
||
|
"name": "mongo",
|
||
|
"labels": {
|
||
|
"name": "mongo",
|
||
|
"role": "mongo"
|
||
|
}
|
||
|
},
|
||
|
"spec": {
|
||
|
"volumes": [
|
||
|
{
|
||
|
"name": "mongo-disk",
|
||
|
"gcePersistentDisk": {
|
||
|
"pdName": "mongo-disk",
|
||
|
"fsType": "ext4"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"containers": [
|
||
|
{
|
||
|
"name": "mongo",
|
||
|
"image": "mongo:latest",
|
||
|
"ports": [
|
||
|
{
|
||
|
"name": "mongo",
|
||
|
"containerPort": 27017
|
||
|
}
|
||
|
],
|
||
|
"volumeMounts": [
|
||
|
{
|
||
|
"name": "mongo-disk",
|
||
|
"mountPath": "/data/db"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|