Skip to content

Instantly share code, notes, and snippets.

@scottisloud
Created June 29, 2023 21:46
Show Gist options
  • Select an option

  • Save scottisloud/ec9b083e0dee68bd3457b48cba5ec35b to your computer and use it in GitHub Desktop.

Select an option

Save scottisloud/ec9b083e0dee68bd3457b48cba5ec35b to your computer and use it in GitHub Desktop.
AKS command to create new cluster
az aks create --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME \
--node-count 2 \
--node-vm-size Standard_B2s \
--location $REGION \
--vnet-subnet-id "$SUBNET_ID" \
--generate-ssh-keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment