Created
October 7, 2017 11:47
-
-
Save wmeints/c235e9e5dcfe0da97c5469adfd071c5c to your computer and use it in GitHub Desktop.
Setup kubernetes cluster quickly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SUBSCRIPTION=$1 | |
ENVIRONMENT=$2 | |
az group create --name kubernetes-$ENVIRONMENT --location westeurope | |
az acs create --orchestrator-type kubernetes \ | |
--resource-group kubernetes-$ENVIRONMENT \ | |
--name $ENVIRONMENT \ | |
--generate-ssh-keys \ | |
--agent-count 1 \ | |
--master-count 1 \ | |
--dns-prefix mytd2017-$ENVIRONMENT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment