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
+44-23Lines changed: 44 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
3
3
## Prerequisites
4
4
5
-
1. Azure Account - If you do not already have a Azure Cloud account, you can starta trial with $200 of free credit [here](https://azure.microsoft.com/en-us/free/). After completing sign up, you must add your billing information.
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
2. Some form of *nix-based terminal - MacOS, Ubuntu, CentOS, Bash on Windows, etc
7
7
<br>Where the following is present:
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).
8
+
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).
9
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
13
13
14
-
After installing the CLI, log in to your Azure Account by typing `az login` and output would look similar to this:
14
+
After installing the CLI, log in to an Azure Account by typing `az login`:
15
15
```
16
16
$ az login
17
17
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code F7DLMNOPE to authenticate.
@@ -31,15 +31,15 @@ To sign in, use a web browser to open the page https://aka.ms/devicelogin and en
31
31
]
32
32
```
33
33
34
-
Replace the value of SUBSCRIPTION_ID with the desired subscription id where you want to deploy from the previous step. We also set the active subscription to deploy to.
34
+
The `id` field from the `az login` command is the Azure Subscription Id. This id will be used throughout the guide. As a matter of convenience, set an environment variable named `SUBSCRIPTION_ID` with the value of the id (e.g. 57849302-a9f0-4908-b300-31337a0fb205). Check the configuration by setting the active subscription with `az account set`:
$ az account set --subscription="${SUBSCRIPTION_ID}"
38
38
```
39
39
40
40
## Create an Azure Service Principle
41
41
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.
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.
43
43
44
44
```
45
45
$ export SP_JSON=`az ad sp create-for-rbac -n="http://acsk8sdeis" --role="Contributor" --scopes="/subscriptions/${SUBSCRIPTION_ID}"`
@@ -59,20 +59,42 @@ This should display an output similar to this. `jq` has also automatically extra
59
59
}
60
60
```
61
61
62
-
## Create Your ACS Kubernetes Cluster
62
+
## Create an ACS Kubernetes Cluster
63
63
64
-
You can build the Kubernetes cluster on ACS using primarily the Azure Web Portal (UI) or entirely using the Azure command line (CLI). Choose one of the two paths:
64
+
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:
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. `az account list-locations` gives the name of all locations.
68
+
Create an empty Azure resource group to hold the ACS Kubernetes cluster. The location of the resource group can be set to any available Azure datacenter. To see the possible locations use `az account list-locations`. Remember to reference the location by the `name` attribute:
> 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.
110
+
> 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.
@@ -106,7 +127,7 @@ Finally you should see something like this:
106
127
"namespace": "Microsoft.ContainerService",
107
128
...
108
129
},
109
-
"resourceGroup": "ascdeis"
130
+
"resourceGroup": "myresourcegroup"
110
131
}
111
132
```
112
133
@@ -120,15 +141,15 @@ Select "Resource Manager" for the deployment model:
120
141
121
142

122
143
123
-
Provide basic settings for your Kubernetes cluster.
144
+
Provide basic settings for the new ACS Kubernetes cluster.
124
145
125
146
* User name: this is the unix user name that will be added to all master and worker nodes
126
147
* SSH public key: provide a public key that will be associated with the user name specified above
127
-
* Subscription: choose the Azure Subscription that will be charged for your compute resources
148
+
* Subscription: choose the Azure Subscription that will be charged for the compute resources
128
149
* Resource group: create a new resource group and give the group a unique name
129
-
* Location: choose an Azure location for your cluster
150
+
* Location: choose an Azure location for the cluster
130
151
131
-
When you have filled out the information, click "Ok".
152
+
When the required information is filled out, click "Ok".
132
153
133
154

134
155
@@ -139,15 +160,15 @@ The next step takes the Service Principle name and password generated using the
139
160
140
161

141
162
142
-
Next, configure the number of worker nodes, the node size, and DNS prefix for your cluster.
163
+
Next, configure the number of worker nodes, the node size, and DNS prefix for the cluster.
143
164
144
165
Worker nodes should have at least 7GB of available RAM.
145
166
146
167
Click "Ok" to continue.
147
168
148
169

149
170
150
-
Review the cluster configuration and click "Ok". After clicking "Purchase" on the next screen you will be returned to the Azure Portal dashboard.
171
+
Review the cluster configuration and click "Ok". After clicking "Purchase" on the next screen the browser will be returned to the Azure Portal dashboard.
151
172
152
173

153
174
@@ -157,7 +178,7 @@ The Kubernetes cluster will take a few minutes to complete provisioning and conf
157
178
158
179

159
180
160
-
## Connect to your Kubernetes Cluster
181
+
## Connect to the ACS Kubernetes Cluster
161
182
162
183
Find the fully qualified domain name (FQDN) for the Kubernetes master:
163
184
@@ -171,7 +192,7 @@ $ az acs list
171
192
},
172
193
```
173
194
174
-
Download the Kubeconfig from the master to your local machine, make sure to use the right SSH identity and master FQDN:
195
+
Download the Kubeconfig from the master to the local machine, make sure to use the right SSH identity and master FQDN:
0 commit comments