Deploy an Application Gateway Ingress Controller without ARM templates

Daniel Kondrashevich
1 min readJun 25, 2021

Deploy your AGIC to an environment with no pre-existing components and without using an ARM template.

Photo of a green field by Vladimir Malyutin on Unsplash

To learn more about the Application Gateway Ingress Controller (AGIC), visit https://azure.github.io/application-gateway-kubernetes-ingress/. Let’s jump right into the greenfield deployment!

Note: There are comments in the code snippets. Be sure to read through them as you follow along.

First, setup all the variables needed.

Next, setup the resource group and virtual network.

In the next step: Create an identity, deploy the Azure Kubernetes Service (AKS) cluster, and assign permissions to the AKS resource groups.

When the above is complete, deploy the Azure Application Gateway v2.

After deploying the App Gateway, deploy aad-pod-identities and setup the right permissions. To learn more about aad-pod-identities, visit https://azure.github.io/aad-pod-identity/docs/.

Once aad-pod-identities is installed and the right permissions are set, we will setup the helm chart and deploy our AGIC.

After the AGIC is installed, deploy the test application and ingress rules.

Congratulations! You’ve just deployed an Azure Application Gateway Ingress Controller in your Kubernetes cluster. Happy Coding and God Bless!

--

--

Daniel Kondrashevich

Code-With Sr. CSA at Microsoft. "By the Grace of God, I am what I am"