Some small aws refinements.

This commit is contained in:
Brendan Burns 2014-11-17 21:49:56 -08:00
parent b75a56d654
commit 10458a5c3f

View File

@ -7,15 +7,16 @@
### Cluster turnup ### Cluster turnup
#### Preferred Option: Install from [0.5 release](https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.5) #### Download Kubernetes
##### a) Preferred Option: Install from [0.5 release](https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.5)
1. ```wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.5/kubernetes.tar.gz``` 1. ```wget https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.5/kubernetes.tar.gz```
2. ```tar -xzf kubernetes.tar.gz``` 2. ```tar -xzf kubernetes.tar.gz; cd kubernetes```
3. ```cd kubernetes``` 4. ```export PATH=$PATH:$PWD/platforms/<os>/<platform>```
#### Alternate Option: Install from source at head ##### b) Alternate Option: Install from source at head
1. ```git clone https://github.com/GoogleCloudPlatform/kubernetes.git``` 1. ```git clone https://github.com/GoogleCloudPlatform/kubernetes.git```
2. ```cd kubernetes; make release``` 2. ```cd kubernetes; make release```
3. ```export PATH=$PATH:$PWD/_output/local/bin/<os>/<platform>```
#### Turn up the cluster #### Turn up the cluster
``` ```
export KUBERNETES_PROVIDER=aws export KUBERNETES_PROVIDER=aws
@ -27,10 +28,14 @@ The script above relies on AWS S3 to deploy the software to instances running in
Once the cluster is up, it will print the ip address of your cluster. Once the cluster is up, it will print the ip address of your cluster.
``` ```
export PATH=$PATH:$PWD/platforms/<os>/<platform>
export KUBERNETES_MASTER=https://<ip-address> export KUBERNETES_MASTER=https://<ip-address>
``` ```
Also setup your path to point to the released binaries:
```
```
### Running examples ### Running examples
Take a look at [next steps](https://github.com/GoogleCloudPlatform/kubernetes#where-to-go-next) Take a look at [next steps](https://github.com/GoogleCloudPlatform/kubernetes#where-to-go-next)
@ -41,5 +46,5 @@ cd kubernetes
cluster/kube-down.sh cluster/kube-down.sh
``` ```
### Cloud Formation ### Cloud Formation [optional]
There is a contributed [example](aws-coreos.md) from [CoreOS](http://www.coreos.com) using Cloud Formation. There is a contributed [example](aws-coreos.md) from [CoreOS](http://www.coreos.com) using Cloud Formation.