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
+64-16Lines changed: 64 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
2. Some form of *nix-based terminal - MacOS, Ubuntu, CentOS, Bash on Windows, etc
7
7
<br>Where the following is present:
8
8
3. Azure CLI - The Azure CLI (2.0) provides the `az` command and allows you to interact with Azure through the command line. Install the CLI by following the instructions on [GitHub for the Azure CLI](https://github.com/Azure/azure-cli).
9
-
4. SSH Key - This is used to deploy the cluster.
9
+
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)
10
10
5. jq - to parse the JSON responses from the CLI. [jq download page](https://stedolan.github.io/jq/)
11
11
12
12
## Configure the Azure CLI
@@ -42,11 +42,11 @@ az account set --subscription="${SUBSCRIPTION_ID}"
42
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 on your behalf. New Service Principles must be given a unique name, a role, and an Azure subscription that the Service Principle may modify.
43
43
44
44
```
45
-
SP_JSON=`az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}"`
45
+
SP_JSON=`az ad sp create-for-rbac -n="http://acsk8sdeis" --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}"`
46
46
SP_NAME=`echo $SP_JSON | jq -r '.name'`
47
47
SP_PASS=`echo $SP_JSON | jq -r '.password'`
48
48
SP_TENANT=`echo $SP_JSON | jq -r '.tenant'`
49
-
echo SP_JSON
49
+
echo $SP_JSON
50
50
```
51
51
52
52
This should display an output similar to this. jq has also automatically extracted these values for use in the creation of the cluster.
@@ -65,7 +65,7 @@ You can build the Kubernetes cluster on ACS using primarily the Azure web Portal
65
65
66
66
### Path 1: Azure 'az' CLI
67
67
68
-
1. Create an empty Azure resource group to deploy your cluster. The location of the resource group value can be changed to any datacenter.
68
+
1. Create an empty Azure resource group to deploy your cluster. The location of the resource group value can be changed to any datacenter.`az account list-locations` gives the name of all locations.
69
69
70
70
```
71
71
RG_NAME=myresourcegroup
@@ -75,16 +75,41 @@ az resource group create --name "${RG_NAME}" --location southcentralus
75
75
2. Execute the command to deploy the cluster. The dns-prefix and ssh-key-value must be replaced with your own values.
76
76
77
77
```
78
-
az acs create --resource-group="${RG_NAME}" --location="southcentralus" /
> Note: When this is successfully executed, you'll only see this to start: `waiting for AAD role to propogate.done`. It will take a few minutes for the cluster to complete creation.
0 commit comments