You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These and JQ are no longer needed since the latest AZ cli automatically creates a service principal as a part of az acs create. Also existing service principal steps in this doc changed.
Copy file name to clipboardExpand all lines: src/quickstart/provider/azure-acs/boot.md
+1-26Lines changed: 1 addition & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
4. SSH Key - This is used to deploy the cluster. [This URL helps to create SSH keys compatible with Linux VMs on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys)
13
13
14
-
5. jq - to parse the JSON responses from the CLI. [jq download page](https://stedolan.github.io/jq/)
15
-
16
14
## Configure the Azure CLI
17
15
18
16
After installing the CLI, log in to an Azure Account by typing `az login`. Take the code offered, enter it into the text box at [https://aka.ms/devicelogin](https://aka.ms/devicelogin), and login using an Azure account which has ownership or contributor permissions over at least one subscription.
$ az account set --subscription="${SUBSCRIPTION_ID}"
45
43
```
46
44
47
-
## Create an Azure Service Principal
48
-
49
-
Next, create an Azure Service Principal that will be used to provision the ACS Kubernetes Cluster. Service Principals are entities that have permission to create resources in an Azure Subscription. New Service Principals must be given a unique name, a role, and an Azure subscription that the Service Principal may modify.
50
-
51
-
```
52
-
$ export SP_JSON=`az ad sp create-for-rbac -n="http://acsk8sdeis" --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}"`
Azure supports two methods to build an ACS Kubernetes cluster, through the Azure Web Portal (UI) or using the Azure command line (CLI). Choose one of the two paths:
@@ -86,16 +63,14 @@ Execute the command to deploy the cluster. The `dns-prefix` and `ssh-key-value`
86
63
```
87
64
$ export SERVICE_NAME=myacs
88
65
$ az acs create --resource-group="${RG_NAME}" --location="${DC_LOCATION}" \
> Note: When `az acs create` starts, the provisioning process runs entirely silent in the background. 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 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.
0 commit comments