Skip to content

Commit

Permalink
Add containerPort to services in guestbook example
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeda committed Sep 4, 2014
1 parent 3c0a736 commit 6dd38e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/guestbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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"
},
Expand Down
1 change: 1 addition & 0 deletions examples/guestbook/frontend-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"kind": "Service",
"apiVersion": "v1beta1",
"port": 9998,
"containerPort": 80,
"selector": {
"name": "frontend"
}
Expand Down
1 change: 1 addition & 0 deletions examples/guestbook/redis-master-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"kind": "Service",
"apiVersion": "v1beta1",
"port": 10000,
"containerPort": 6379,
"selector": {
"name": "redis-master"
}
Expand Down
1 change: 1 addition & 0 deletions examples/guestbook/redis-slave-service.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"kind": "Service",
"apiVersion": "v1beta1",
"port": 10001,
"containerPort": 6379,
"labels": {
"name": "redisslave"
},
Expand Down

0 comments on commit 6dd38e2

Please sign in to comment.