In this demo, we will be creating three popular orchestrators DCOS, DockerCE, and Kubernetes
on Azure Container Service using template with 2017-07-01
api version header which is available in UK South
and UK West
.
This demo will use Azure cli.
az login
az account set --subscription ${SUBSCRIPTION_ID}
az group create -l ukwest -n acs-demo-dcos
- edit
azuredeploy.params.dcos.json
withsshRSAPublicKey
(a valid SSH key)- Replace GEN-UNIQUE with proper unique dns prefix
az group deployment create -g acs-demo-dcos --template-file azuredeploy.dcos.json --parameters azuredeploy.params.dcos.json
az group create -l ukwest -n acs-demo-dockerce
- edit
azuredeploy.params.dockerce.json
withsshRSAPublicKey
(a valid SSH key)- Replace GEN-UNIQUE with proper unique dns prefix
az group deployment create -g acs-demo-dockerce --template-file azuredeploy.json --parameters azuredeploy.params.dockerce.json
az group create -l ukwest -n acs-demo-k8s
- To create Kubernetes cluster, we need a valid service principal
az ad sp create-for-rbac --scopes /subscriptions/${SUBSCRIPTION_ID}
- edit
azuredeploy.params.kubernetes.json
withsshRSAPublicKey
(a valid SSH key)servicePrincipalClientId
(taken from the appId generated in step 2)servicePrincipalClientSecret
(taken from the password generated in step 2)- Replace GEN-UNIQUE with proper unique dns prefix
az group deployment create -g acs-demo-k8s --template-file azuredeploy.json --parameters azuredeploy.params.kubernetes.json