add support for aws
parent
1a3a32cd71
commit
82b3c26a42
|
@ -214,6 +214,10 @@ KUBERNETES_HOSTS=(controller0 controller1 controller2 etcd0 etcd1 etcd2 worker0
|
||||||
|
|
||||||
### GCE
|
### 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
|
for host in ${KUBERNETES_HOSTS[*]}; do
|
||||||
gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem ${host}:~/
|
gcloud compute copy-files ca.pem kubernetes-key.pem kubernetes.pem ${host}:~/
|
||||||
|
@ -222,6 +226,10 @@ done
|
||||||
|
|
||||||
### AWS
|
### 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
|
for host in ${KUBERNETES_HOSTS[*]}; do
|
||||||
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
|
PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
|
||||||
|
|
Loading…
Reference in New Issue