let's continue playing with AKS and this time around , i will be sharing the how to install nginx ingress controller on AKS, this is not new but it is more on my sharing and finding during the process.
First of all , you need to have AKS to begin with , and an app to be publish , it can be a test app some sample app or your own app. i will be utilizing terraform to deploy it .
Prerequisite
1. AKS cluster
2.Terraform installed
3.Helm installed.
Some special requirement that found during the deployment as below
i. Public IP for nginx ingress must be in precreated RG that hold the AKS resource ; MC_rg_aks-name_region
ii. It does not need SPN like traefik and agic deployment
so now we can deploy nginx ingress into our aks, here is my helm setup in terraform
here is how i cater the public ip resource group
After you apply your terraform code, then you can test your nginx using the sample app that i used for agic just need to change some parameter on the code
and here is the result
the format may be off but it does conclude that our nginx is running fine.
Thanks for reading and see you on next post
here is the refence link that i refer while figuring this
1. GitHub - kubernetes/ingress-nginx: Ingress-NGINX Controller for Kubernetes