From 82b3c26a4285297d269a89808d9489029ec221e9 Mon Sep 17 00:00:00 2001 From: Kelsey Hightower Date: Sat, 10 Sep 2016 19:17:55 -0700 Subject: [PATCH] add support for aws --- docs/02-certificate-authority.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/02-certificate-authority.md b/docs/02-certificate-authority.md index 1d5bad2..51f0427 100644 --- a/docs/02-certificate-authority.md +++ b/docs/02-certificate-authority.md @@ -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 \