ceph-csi/vendor/k8s.io/kubernetes/examples/guestbook-go/redis-slave-service.json

24 lines
369 B
JSON
Raw Normal View History

2018-01-09 18:57:14 +00:00
{
"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"
}
}
}