File tree Expand file tree Collapse file tree
src/quickstart/provider/azure-acs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,22 +187,17 @@ The Kubernetes cluster will take a few minutes to complete provisioning and conf
187187
188188## Connect to the ACS Kubernetes Cluster
189189
190- Find the fully qualified domain name (FQDN) for the Kubernetes master:
190+ Retrieve the fully qualified domain name (FQDN) for the Kubernetes master.
191191
192192```
193- $ az acs list
194- # Part of the way down the output, find and copy the FQDN for the master, it should end with `cloudapp.azure.com`:
195- "masterProfile": {
196- "count": 1,
197- "dnsPrefix": "asc-deis-k8s-masters",
198- "fqdn": "mydnsprefix.myregion.cloudapp.azure.com"
199- },
193+ $ export K8S_FQDN=`az acs list -g $RG_NAME --query [0].masterProfile.fqdn --output tsv`
194+ $ echo $K8S_FQDN
200195```
201196
202197Download the Kubeconfig from the master to the local machine, make sure to use the right SSH identity and master FQDN:
203198
204199```
205- $ scp -i ~/.ssh/id_rsa k8sadmin@mydnsprefix.myregion.cloudapp.azure.com :.kube/config ~/.kube/k8sanddeis.config
200+ $ scp -i ~/.ssh/id_rsa k8sadmin@$K8S_FQDN :.kube/config ~/.kube/k8sanddeis.config
206201The authenticity of host 'mydnsprefix.myregion.cloudapp.azure.com (40.78.71.181)' can't be established.
207202ECDSA key fingerprint is a0:09:ff:59:83:47:70:38:d4:0d:68:b2:cf:0f:2a:cf.
208203Are you sure you want to continue connecting (yes/no)? yes
You can’t perform that action at this time.
0 commit comments