Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add firewall instructions to the update demo #447

Merged
merged 1 commit into from Jul 14, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions examples/update-demo/README.md
Expand Up @@ -29,6 +29,12 @@ This example also assumes that you have [Docker](http://docker.io) installed on

It also assumes that ```$DOCKER_USER``` is set to your docker user id.

You may need to open the firewall for port 8080 using the [console][cloud-console] or the `gcutil` tool. The following command will allow traffic from any source to instances tagged `kubernetes-minion`:

```shell
$ gcutil addfirewall --allowed=tcp:8080 --target_tags=kubernetes-minion kubernetes-minion-8080
```

### Step One: Build the image

$ cd kubernetes/examples/update-demo/image
Expand Down Expand Up @@ -83,3 +89,5 @@ We will now update the servers that are running out in your cluster.
$ cluster/kubecfg.sh -u=30s rollingupdate dataController

Watch the UX, it will update one pod every 30 seconds until all of the pods have the new color.

[cloud-console]: https://console.developer.google.com