--validate
for dry-run
az network dns zone export --resource-group <name-of-resource-group> --name whatever.com --output table
name-of-resource-group - can be found in azure portal once you click on hosted zone overview
az webapp list -o table
# add ENV variable
az webapp config appsettings list -g myResourceGroup -n <app_name> -o table
az webapp config appsettings set --resource-group myResourceGroup --name <app_name> --settings WEBSITES_PORT=8000
# deploy image
az webapp config container set --name <app_name> --resource-group myResourceGroup --docker-registry-server-user <docker-id> --docker-registry-server-password <password>
az webapp config container set --name <app_name> --resource-group myResourceGroup --docker-custom-image-name <azure-container-registry-name>.azurecr.io/mydockerimage --docker-registry-server-url https://<azure-container-registry-name>.azurecr.io --docker-registry-server-user <registry-username> --docker-registry-server-password <password>
az group create --name support --location uksouth
az acs create --orchestrator-type kubernetes --resource-group support --name support --agent-count 1 --generate-ssh-keys
az group create -n support -l westeurope
az aks create -g support -n support-app -c 1 # -l westeurope
az aks list -o table
az aks get-credentials -n support-app -g support
az aks browse -n support-app -g support # kubernetes UI
az aks scale -n support-app -g support -c 3 # scale to 3 nodes
az aks get-versions -n support-app -g support -o table # agent version
kubectl get pods --all-namespaces