Created
August 5, 2020 10:44
-
-
Save vfarcic/f3e6575dcefcee039bb6cef6509f3fdc to your computer and use it in GitHub Desktop.
This file contains 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
#################### | |
# Create a Cluster # | |
#################### | |
# Only if you did not yet clone that repository | |
git clone \ | |
https://github.com/vfarcic/devops-catalog-code.git | |
cd devops-catalog-code | |
git pull | |
cd terraform-aks/simple | |
az login | |
terraform init | |
terraform apply | |
export KUBECONFIG=$PWD/kubeconfig | |
kubectl get nodes | |
cd ../../../ | |
####################### | |
# Destroy The Cluster # | |
####################### | |
cd devops-catalog-code/terraform-aks/simple | |
terraform destroy | |
cd ../../../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment