Skip to content

Commit c65fae6

Browse files
author
David Tesar
authored
docs(Azure): note for kubernetes get-credentials
Added link to create service principal steps for UI
1 parent 4eea426 commit c65fae6

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

  • src/quickstart/provider/azure-acs

src/quickstart/provider/azure-acs/boot.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $ az acs create --resource-group="${RG_NAME}" --location="${DC_LOCATION}" \
7070
--ssh-key-value @/home/myusername/.ssh/id_rsa.pub
7171
```
7272

73-
> Note: When `az acs create` starts, the provisioning process runs in the background by first creating a service principal and then waiting for AAD role to propagate. After a few minutes the `az` command should return with information about the deployment created as shown below.
73+
> Note: When `az acs create` starts, the provisioning process runs in the background by first creating a service principal named ${SERVICE_NAME} assigned appropriate permissions. After a few minutes the `az` command should return with information about the deployment created as shown below.
7474
7575
```
7676
{
@@ -116,10 +116,10 @@ When the required information is filled out, click "Ok".
116116

117117
![](images/step3.png)
118118

119-
The next step takes the Service Principal name and password generated using the Azure CLI.
119+
Create a new service principal via [instructions at this link](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authenticate-service-principal-cli#create-service-principal-with-password) and put them into the UI.
120120

121-
* Service Principal Client ID: the name of the principal created above e.g. `http://workflow-on-acs`
122-
* Service Principal Client Secret: the password returned by the Azure CLI e.g. 349d4728-438a-52a5-ad25-a740aa0bd240
121+
* Service Principal Client ID: the name of the principal created in the example document after the `-n` parameter e.g. `exampleapp`
122+
* Service Principal Client Secret: the password specified after the `-p` parameter or auto-generated in the Azure CLI e.g. 349d4728-438a-52a5-ad25-a740aa0bd240
123123

124124
![](images/step4.png)
125125

@@ -154,7 +154,8 @@ Download the master kubernetes cluster configuration to the ~/.kube/config file
154154
```console
155155
az acs kubernetes get-credentials --resource-group=$RG_NAME --name=$SERVICE_NAME
156156
```
157-
157+
> Note: If the cluster was provisioned using any other SSH key than `/root/.ssh/id_rsa` then the `--ssh-key-file` parameter must be used pointing to the SSH key utilized to provision the cluster.
158+
158159
Verify connectivity to the new ACS Kubernetes cluster by running `kubectl cluster-info`
159160

160161
```

0 commit comments

Comments
 (0)