Convert gcutil to gcloud compute

This commit is contained in:
Joe Beda
2014-11-25 10:32:27 -08:00
parent 175ca37bc7
commit 6ba07b38fc
10 changed files with 170 additions and 194 deletions

View File

@@ -33,10 +33,12 @@ It also assumes that `$DOCKER_HUB_USER` is set to your Docker user id. We use t
$ export DOCKER_HUB_USER=my-docker-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`:
You may need to open the firewall for port 8080 using the [console][cloud-console] or the `gcloud` tool. The following command will allow traffic from any source to instances tagged `kubernetes-minion`:
```bash
$ gcutil addfirewall --allowed=tcp:8080 --target_tags=kubernetes-minion kubernetes-minion-8080
$ gcloud compute firewall-rules create \
--allow tcp:8080 --target-tags=kubernetes-minion \
--zone=us-central1-a kubernetes-minion-8080
```
### Step Zero: Build the Docker images