diff --git a/api/examples/pod.json b/api/examples/pod.json index 66b9dc2daf4..48a7d75b983 100644 --- a/api/examples/pod.json +++ b/api/examples/pod.json @@ -11,7 +11,7 @@ "image": "dockerfile/nginx", "ports": [{ "containerPort": 80, - "hostPort": 8080 + "hostPort": 8081 }], "livenessProbe": { "enabled": true, @@ -19,7 +19,7 @@ "initialDelaySeconds": 30, "httpGet": { "path": "/index.html", - "port": "8080" + "port": "8081" } } }] diff --git a/docs/getting-started-guides/gce.md b/docs/getting-started-guides/gce.md index 4cb4ce19905..1e4c6b5d1a2 100644 --- a/docs/getting-started-guides/gce.md +++ b/docs/getting-started-guides/gce.md @@ -96,7 +96,7 @@ Where pod.json contains something like: "image": "dockerfile/nginx", "ports": [{ "containerPort": 80, - "hostPort": 8080 + "hostPort": 8081 }], "livenessProbe": { "enabled": true, @@ -104,7 +104,7 @@ Where pod.json contains something like: "initialDelaySeconds": 30, "httpGet": { "path": "/index.html", - "port": "8080" + "port": "8081" } } }] @@ -128,6 +128,9 @@ and delete the pod you just created: cluster/kubectl.sh delete pods php ``` +Since this pod is scheduled on a minion running in GCE, you will have to enable incoming tcp traffic via the port specified in the +pod manifest before you see the nginx welcome page. After doing so, it should be visible at http://:. + Look in `examples/` for more examples ### Tearing down the cluster