cri-o/vendor/k8s.io/kubernetes/examples/guestbook-go/redis-master-service.json

24 lines
372 B
JSON
Raw Normal View History

{
"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"
}
}
}