Skip to content

Commit bb54bef

Browse files
committed
New storage account for helm install deis
1 parent 64431c9 commit bb54bef

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

src/quickstart/provider/azure-acs/boot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,14 @@ Create an environment variable to hold the resource group name:
7777

7878
```
7979
$ export RG_NAME=myresourcegroup
80-
$ az group create --name "${RG_NAME}" --location southcentralus
80+
$ export DC_LOCATION=mylocation
81+
$ az group create --name "${RG_NAME}" --location "${DC_LOCATION}"
8182
```
8283

8384
Execute the command to deploy the cluster. The `dns-prefix` and `ssh-key-value` must be replaced with your own values.
8485

8586
```
86-
$ az acs create --resource-group="${RG_NAME}" --location="southcentralus" \
87+
$ az acs create --resource-group="${RG_NAME}" --location="${DC_LOCATION}" \
8788
--service-principal="${SP_NAME}" \
8889
--client-secret="${SP_PASS}" \
8990
--orchestrator-type=kubernetes --master-count=1 --agent-count=2 \

src/quickstart/provider/azure-acs/install-azure-acs.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,22 @@ Add this repository to Helm:
2727
$ helm repo add deis https://charts.deis.com/workflow
2828
```
2929

30+
## Create New Azure Storage Account
31+
32+
It is recommended to have a storage account for the operational aspects of running DEIS (i.e. holding images, Disaster Recovery, Backup). This storage account can be passed as parameters during the helm install on the next step. Replace the SA_NAME variable with a unique name for your storage account and execute these commands.
33+
```
34+
$ export SA_NAME=YourGlobalUniqueName
35+
$ az storage account create -n $SA_NAME -l $DC_LOCATION -g $RG_NAME --sku Premium_LRS
36+
$ export SA_KEY=`az storage account keys list -n $SA_NAME -g RG_NAME --query keys[0].value --output tsv`
37+
38+
```
39+
3040
## Install Deis Workflow
3141

3242
Now that Helm is installed and the repository has been added, install Workflow by running:
3343

3444
```
35-
$ helm install deis/workflow --namespace deis --set controller.docker_tag=v2.9.0-acs,controller.org=kmala
45+
$ helm install deis/workflow --namespace=deis --set controller.docker_tag=v2.9.0-acs,controller.org=kmala,global.storage=azure,azure.accountname=$SA_NAME,azure.accountkey=$SA_KEY,azure.registry_container=registry,azure.database_container=database,azure.builder_container=builder
3646
```
3747

3848
Helm will install a variety of Kubernetes resources in the `deis` namespace.

0 commit comments

Comments
 (0)