Skip to content

Commit

Permalink
Incorporate comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieter Noordhuis committed Aug 25, 2014
1 parent ad7f131 commit c535d6d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ While the concepts and architecture in Kubernetes represent years of experience
* [Locally](docs/getting-started-guides/locally.md)
* [CoreOS](docs/getting-started-guides/coreos.md)
* [Fedora](docs/getting-started-guides/fedora.md)
* [vSphere](docs/getting-started-guides/vsphere.md)
* [kubecfg command line tool](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/cli.md)
* [Kubernetes API Documentation](http://cdn.rawgit.com/GoogleCloudPlatform/kubernetes/ce4fcc4ad89ed7b481a46a0ad4c99dee4c6f24ba/api/kubernetes.html)
* [Discussion and Community Support](#community-discussion-and-support)
Expand Down
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/static-routes/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- group: root
- mode: 755

refresh routes:
refresh-routes:
cmd.wait_script:
- source: salt://static-routes/refresh
- cwd: /etc/network/
Expand Down
23 changes: 16 additions & 7 deletions docs/getting-started-guides/vsphere.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,39 @@

1. You need administrator credentials to an ESXi machine or vCenter instance.
2. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org).
3. Install the govc tool to interact with ESXi/vCenter:
3. You must have your `GOPATH` set up and include `$GOPATH/bin` in your `PATH`.

```sh
export GOPATH=$HOME/src/go
mkdir -p $GOPATH
export PATH=$PATH:$GOPATH/bin
```

4. Install the govc tool to interact with ESXi/vCenter:

```sh
go get github.com/vmware/govmomi/govc
```
4. Install godep:

5. Install godep:

```sh
export GOBIN=/usr/local/go/bin
go get github.com/tools/godep
```

5. Get the Kubernetes source:
6. Get the Kubernetes source:

```sh
git clone https://github.com/GoogleCloudPlatform/kubernetes.git
go get github.com/GoogleCloudPlatform/kubernetes
cd $GOPATH/src/github.com/GoogleCloudPlatform/kubernetes
```

### Setup

Download a prebuilt Debian VMDK to be used as base image:

```sh
wget http://storage.googleapis.com/govmomi/vmdk/kube.vmdk.gz{,.md5}
wget https://storage.googleapis.com/govmomi/vmdk/kube.vmdk.gz{,.md5}
md5sum -c kube.vmdk.gz.md5
gzip -d kube.vmdk.gz
```
Expand All @@ -53,7 +62,7 @@ parameters. The guest login for the image that you imported is `kube:kube`.

Now, let's continue with deploying Kubernetes:

```
```sh
cd kubernetes

# Build a release
Expand Down

0 comments on commit c535d6d

Please sign in to comment.