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
+6-30Lines changed: 6 additions & 30 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 named ${SERVICE_NAME} assigned appropriate permissions. After a few minutes the `az` command should return with information about the deployment created as shown below.
99
74
100
75
```
101
76
{
@@ -141,10 +116,10 @@ When the required information is filled out, click "Ok".
141
116
142
117

143
118
144
-
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.
145
120
146
-
* Service Principal Client ID: the name of the principal created above e.g. `http://workflow-on-acs`
147
-
* 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
148
123
149
124

150
125
@@ -179,7 +154,8 @@ Download the master kubernetes cluster configuration to the ~/.kube/config file
179
154
```console
180
155
az acs kubernetes get-credentials --resource-group=$RG_NAME --name=$SERVICE_NAME
181
156
```
182
-
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
+
183
159
Verify connectivity to the new ACS Kubernetes cluster by running `kubectl cluster-info`
> Note: Premium Storage skus are not supported yet due to [lack of block blob storage support](https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/using-blob-service-operations-with-azure-premium-storage) required for the deis database to function.
41
+
40
42
## Install Deis Workflow
41
43
42
44
Now that Helm is installed and the repository has been added, install Workflow by running:
0 commit comments