Add containerPort to services in guestbook example

This commit is contained in:
Joe Beda
2014-08-25 16:37:55 -07:00
parent 3c0a736908
commit 6dd38e2f49
4 changed files with 5 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ The pod that you created in Step One has the label `name=redis-master`. The sele
"kind": "Service",
"apiVersion": "v1beta1",
"port": 10000,
"containerPort": 6379,
"selector": {
"name": "redis-master"
}
@@ -169,6 +170,7 @@ Just like the master, we want to have a service to proxy connections to the read
"kind": "Service",
"apiVersion": "v1beta1",
"port": 10001,
"containerPort": 6379,
"labels": {
"name": "redisslave"
},