From 7f8de7ce8a48211b2f2f24dcc65a17259e49b79c Mon Sep 17 00:00:00 2001 From: Kelsey Hightower Date: Sun, 11 Sep 2016 03:53:13 -0700 Subject: [PATCH] add support for aws --- docs/06-kubectl.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/06-kubectl.md b/docs/06-kubectl.md index ec4ed7e..a8ed209 100644 --- a/docs/06-kubectl.md +++ b/docs/06-kubectl.md @@ -25,14 +25,14 @@ In this section you will configure the kubectl client to point to the [Kubernete ### GCE ``` -KUBERNETES_PUBLIC_IP_ADDRESS=$(gcloud compute addresses describe kubernetes \ +KUBERNETES_PUBLIC_ADDRESS=$(gcloud compute addresses describe kubernetes \ --format 'value(address)') ``` ### AWS ``` -KUBERNETES_PUBLIC_IP_ADDRESS=$(aws elb describe-load-balancers \ +KUBERNETES_PUBLIC_ADDRESS=$(aws elb describe-load-balancers \ --load-balancer-name kubernetes | \ jq -r '.LoadBalancerDescriptions[].DNSName') ``` @@ -55,7 +55,7 @@ The following commands will build up the default kubeconfig file used by kubectl kubectl config set-cluster kubernetes-the-hard-way \ --certificate-authority=ca.pem \ --embed-certs=true \ - --server=https://${KUBERNETES_PUBLIC_IP_ADDRESS}:6443 + --server=https://${KUBERNETES_PUBLIC_ADDRESS}:6443 ``` ```