Merge pull request #5566 from jlowdermilk/update-docs

Update getting-started-guides/gce.md for using prebuilt release
This commit is contained in:
CJ Cullen 2015-03-18 15:47:24 -07:00
commit 97b806e3a7

View File

@ -47,8 +47,12 @@ field values:
### Running a container (simple version) ### Running a container (simple version)
Once you have your instances up and running, the `hack/build-go.sh` script sets up Once you have your instances up and running, use cluster/kubectl.sh to access
your Go workspace and builds the Go components. the kubernetes api.
Note: if you built the release from source you will need to run `hack/build-go.sh` to
build the go components, which include the `kubectl` commandline client. If you are
using a prebuilt release, the built client binaries are already included.
The `kubectl.sh` line below spins up two containers running The `kubectl.sh` line below spins up two containers running
[Nginx](http://nginx.org/en/) running on port 80: [Nginx](http://nginx.org/en/) running on port 80:
@ -71,10 +75,6 @@ cluster/kubectl.sh delete rc my-nginx
### Running a container (more complete version) ### Running a container (more complete version)
Assuming you've run `hack/dev-build-and-up.sh` and `hack/build-go.sh`, you
can create a pod like this:
```bash ```bash
cd kubernetes cd kubernetes
cluster/kubectl.sh create -f docs/getting-started-guides/pod.json cluster/kubectl.sh create -f docs/getting-started-guides/pod.json