This repository contains the terraform modules for deploying AKS for use with BigBang installation.
-
Tools required:
- terraform
- kubectl
- Azure CLI
-
Run deployment from example directory:
cd example -
Copy
terraform.tfvars.sampletoterraform.tfvars -
Update variables:
CLUSTER_NAME: name of your AKS clusterRESOURCE_GROUP_NAME: name of your AKS clusterAZUREAD_GROUP_IDS: This AKS cluster uses managed identity. In order to connect to the cluster, a user must be a part of an AAD Group. This variable can be a comma separated list of Group Ids. If you don't have an AD Group, you can create one or connect with admin credentials (not recommended).
-
The networking defaults can be updated if required.
- In the example directory, Initialize terraform:
terraform init - Apply the terraform modules:
terraform apply - Assuming the terraform apply completes successfully, you can know get the credentials to access the cluster:
az aks get-credentials --resource-group {RESOURCE_GROUP_NAME} --name {CLUSTER_NAME}
TODO: Explain how other users and developers can contribute to make your code better.