Skip to content

Instantly share code, notes, and snippets.

@anoopl
Created February 6, 2019 11:31
Show Gist options
  • Save anoopl/5ac38d19c0565bb6f767dea135f19f8f to your computer and use it in GitHub Desktop.
Save anoopl/5ac38d19c0565bb6f767dea135f19f8f to your computer and use it in GitHub Desktop.
az aks create --resource-group <resource-group> --name <cluster-name> --kubernetes-version 1.12.4 \
--node-count 1 --node-vm-size Standard_DS1_v2 \
--vnet-subnet-id "/subscriptions/xxxx-xxxx-xxxxxxxxxxx/resourceGroups/xxxxxx/providers/Microsoft.Network/virtualNetworks/k8s-vnet/subnets/k8s-nodes-subnet" \
--network-plugin azure \
--service-cidr 10.20.0.0/16 --dns-service-ip 10.20.0.10 \
--enable-cluster-autoscaler \
--min-count 1 \
--max-count 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment