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
Copy file name to clipboardExpand all lines: src/quickstart/provider/azure-acs/boot.md
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,22 @@
3
3
## Prerequisites
4
4
5
5
1. Azure Account - An active Azure Cloud account is required for this quick start. Start a trial with $200 of free credit [here](https://azure.microsoft.com/en-us/free/). After completing trial sign up, a credit card for billing must be added, but will not be charged.
6
+
6
7
2. Some form of *nix-based terminal - MacOS, Ubuntu, CentOS, Bash on Windows, etc
7
8
<br>Where the following is present:
9
+
8
10
3. Azure CLI - The Azure CLI (2.0) provides the `az` command which drives Azure through the command line. Install the CLI by following the instructions on [GitHub for the Azure CLI](https://github.com/Azure/azure-cli).
11
+
9
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
+
10
14
5. jq - to parse the JSON responses from the CLI. [jq download page](https://stedolan.github.io/jq/)
11
15
12
16
## Configure the Azure CLI
13
17
14
-
After installing the CLI, log in to an Azure Account by typing `az login`:
18
+
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.
19
+
20
+
> Note: If the Azure subscription is configured for 2FA (not done by default), the Azure account used to login must have ownership credentials to create the service principal.
21
+
15
22
```
16
23
$ az login
17
24
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code F7DLMNOPE to authenticate.
$ az account set --subscription="${SUBSCRIPTION_ID}"
38
45
```
39
46
40
-
## Create an Azure Service Principle
47
+
## Create an Azure Service Principal
41
48
42
-
Next, create an Azure Service Principle that will be used to provision the ACS Kubernetes Cluster. Service Principles are entities that have permission to create resources in an Azure Subscription. New Service Principles must be given a unique name, a role, and an Azure subscription that the Service Principle may modify.
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.
43
50
44
51
```
45
52
$ export SP_JSON=`az ad sp create-for-rbac -n="http://acsk8sdeis" --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}"`
> Note: When `az acs create` starts the only output will be `waiting for AAD role to propogate.done`. The provisioning process is running in the background, in a few minutes the `az` command should return with information about the deployment created behind the scenes.
117
+
> Note: When `az acs create` starts the only output will be `waiting for AAD role to propagate..`. This verifies the service principal is propagated and has appropriate permissions. If this passes the output will change to `... propagate.done`, the provisioning process runs silently in the background, and after a few minutes the `az` command should return with information about the deployment created as shown below. If `... propagate.done` is not displayed after a few minutes, then there is a problem with the service principal credentials.
111
118
112
119
```
113
120
{
@@ -153,10 +160,10 @@ When the required information is filled out, click "Ok".
153
160
154
161

155
162
156
-
The next step takes the Service Principle name and password generated using the Azure CLI.
163
+
The next step takes the Service Principal name and password generated using the Azure CLI.
157
164
158
-
* Service Priciple Client ID: the name of the principle created above e.g. `http://workflow-on-acs`
159
-
* Service Priciple Client Secret: the password returned by the Azure CLI e.g. 349d4728-438a-52a5-ad25-a740aa0bd240
165
+
* Service Principal Client ID: the name of the principal created above e.g. `http://workflow-on-acs`
166
+
* Service Principal Client Secret: the password returned by the Azure CLI e.g. 349d4728-438a-52a5-ad25-a740aa0bd240
0 commit comments