add support for aws

pull/48/merge
Kelsey Hightower 2016-09-10 19:17:55 -07:00
parent 1a3a32cd71
commit 82b3c26a42
1 changed files with 8 additions and 0 deletions

View File

@ -214,6 +214,10 @@ KUBERNETES_HOSTS=(controller0 controller1 controller2 etcd0 etcd1 etcd2 worker0
### GCE
The following command will:
* Copy the TLS certificates and keys to each Kubernetes host using the `gcloud compute copy-files` command.
```
for host in ${KUBERNETES_HOSTS[*]}; do
gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem ${host}:~/
@ -222,6 +226,10 @@ done
### AWS
The following command will:
* Extract the public IP address for each Kubernetes host
* Copy the TLS certificates and keys to each Kubernetes host using `scp`
```
for host in ${KUBERNETES_HOSTS[*]}; do
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \