This Repo is for contents of the AKS Accelerator You find different Environments in this directory. First, you need to go to Shared and execute the steps mentioned below. After that, you can decide if you want to move to Day1
This needs to be done, before you do anything of Day 1
- init terraform with
terraform init
- terraform apply
terraform apply
- import container
az acr import -n acrtest1dfsa23 --source mcr.microsoft.com/azuredocs/aci-helloworld --image aci-helloworld
- initialise terraform with
terraform init
- apply everything to your environment with
terraform apply
Prerequisites:
- you do need an Azure Active Directory Group where all your admins are in, who should get acccess to the AKS Cluster
- you need to install kubelogin with
az aks installcli
or with brewbrew install Azure/kubelogin/kubelogin
- run
make build_day2 ADMIN_OBJECT_IDS='[\"<object_id of the aad admin group>\"]'
in the repo folder, where the Makefile is in - at the end, there is an output from argocd how you access it and how you get the credentials
- change to the correct ACR registry in your
App of Apps Repository
in this example it will be theproject-development-dev
repository