8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
23 lines
372 B
JSON
23 lines
372 B
JSON
{
|
|
"kind":"Service",
|
|
"apiVersion":"v1",
|
|
"metadata":{
|
|
"name":"redis-master",
|
|
"labels":{
|
|
"app":"redis",
|
|
"role":"master"
|
|
}
|
|
},
|
|
"spec":{
|
|
"ports": [
|
|
{
|
|
"port":6379,
|
|
"targetPort":"redis-server"
|
|
}
|
|
],
|
|
"selector":{
|
|
"app":"redis",
|
|
"role":"master"
|
|
}
|
|
}
|
|
}
|