mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 05:50:22 +00:00
41 lines
832 B
JSON
41 lines
832 B
JSON
|
{
|
||
|
"kind":"ReplicationController",
|
||
|
"apiVersion":"v1",
|
||
|
"metadata":{
|
||
|
"name":"redis-master",
|
||
|
"labels":{
|
||
|
"app":"redis",
|
||
|
"role":"master"
|
||
|
}
|
||
|
},
|
||
|
"spec":{
|
||
|
"replicas":1,
|
||
|
"selector":{
|
||
|
"app":"redis",
|
||
|
"role":"master"
|
||
|
},
|
||
|
"template":{
|
||
|
"metadata":{
|
||
|
"labels":{
|
||
|
"app":"redis",
|
||
|
"role":"master"
|
||
|
}
|
||
|
},
|
||
|
"spec":{
|
||
|
"containers":[
|
||
|
{
|
||
|
"name":"redis-master",
|
||
|
"image":"redis:2.8.23",
|
||
|
"ports":[
|
||
|
{
|
||
|
"name":"redis-server",
|
||
|
"containerPort":6379
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|