mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 00:30:18 +00:00
41 lines
840 B
JSON
41 lines
840 B
JSON
{
|
|
"kind":"ReplicationController",
|
|
"apiVersion":"v1",
|
|
"metadata":{
|
|
"name":"redis-slave",
|
|
"labels":{
|
|
"app":"redis",
|
|
"role":"slave"
|
|
}
|
|
},
|
|
"spec":{
|
|
"replicas":2,
|
|
"selector":{
|
|
"app":"redis",
|
|
"role":"slave"
|
|
},
|
|
"template":{
|
|
"metadata":{
|
|
"labels":{
|
|
"app":"redis",
|
|
"role":"slave"
|
|
}
|
|
},
|
|
"spec":{
|
|
"containers":[
|
|
{
|
|
"name":"redis-slave",
|
|
"image":"kubernetes/redis-slave:v2",
|
|
"ports":[
|
|
{
|
|
"name":"redis-server",
|
|
"containerPort":6379
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|