k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
772 B
19 lines
772 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
AZURE_RESOURCE_GROUP="$1"
|
|
|
|
if [ "$AZURE_RESOURCE_GROUP" == "" ]; then
|
|
echo "AZURE_RESOURCE_GROUP is missing"
|
|
exit 1
|
|
fi
|
|
|
|
ansible-playbook generate-templates.yml
|
|
|
|
az deployment group create --template-file ./.generated/network.json -g $AZURE_RESOURCE_GROUP
|
|
az deployment group create --template-file ./.generated/storage.json -g $AZURE_RESOURCE_GROUP
|
|
az deployment group create --template-file ./.generated/availability-sets.json -g $AZURE_RESOURCE_GROUP
|
|
az deployment group create --template-file ./.generated/bastion.json -g $AZURE_RESOURCE_GROUP
|
|
az deployment group create --template-file ./.generated/masters.json -g $AZURE_RESOURCE_GROUP
|
|
az deployment group create --template-file ./.generated/minions.json -g $AZURE_RESOURCE_GROUP
|