Skip to content
This documentation applies to Codacy Self-hosted v1.0.1

For the latest updates and improvements, see the latest Cloud documentation instead.

Creating an AKS cluster

Setup the Azure CLI

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

for mac

brew install azure-cli

login with:

az login --use-device-code

this is more stable than not using device code.

Create the backend for Terraform

https://www.terraform.io/docs/backends/index.html

To create the backend run:

cd backend/
terraform init && terraform apply

Save the output data and use it to configure the backends of the main/ and setup/ stacks (in config.tf).

Create a cluster

To create run:

cd backend/
terraform init && terraform apply

get kubeconfig:

az aks get-credentials --resource-group codacy-cluster --name codacy-aks-cluster

Setup

To create run:

cd setup/
terraform init && terraform apply

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified March 30, 2020