mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 05:50:22 +00:00
24 lines
369 B
JSON
24 lines
369 B
JSON
|
{
|
||
|
"kind":"Service",
|
||
|
"apiVersion":"v1",
|
||
|
"metadata":{
|
||
|
"name":"redis-slave",
|
||
|
"labels":{
|
||
|
"app":"redis",
|
||
|
"role":"slave"
|
||
|
}
|
||
|
},
|
||
|
"spec":{
|
||
|
"ports": [
|
||
|
{
|
||
|
"port":6379,
|
||
|
"targetPort":"redis-server"
|
||
|
}
|
||
|
],
|
||
|
"selector":{
|
||
|
"app":"redis",
|
||
|
"role":"slave"
|
||
|
}
|
||
|
}
|
||
|
}
|