This is an ingress controller that can be run on Azure Kubernetes Service (AKS) to allow an Azure Application Gateway to act as the ingress for an AKS cluster.
Created an appgw and enabled aks ingress addon with that existing appgw. After deploying a test app, ingress address column it's empty and the application gateway it's not updating when modifying the ingress, deployment, etc
I1216 03:11:22.224477 1 utils.go:115] Using verbosity level 5 from environment variable APPGW_VERBOSITY_LEVEL
I1216 03:11:22.305619 1 environment.go:248] KUBERNETES_WATCHNAMESPACE is not set. Watching all available namespaces.
I1216 03:11:22.305647 1 main.go:117] Using User Agent Suffix='ingress-appgw-deployment-687df9db49-qzc27' when communicating with ARM
I1216 03:11:22.305739 1 main.go:136] Appication Gateway Details: Subscription="6a761677-8511-4f7b-8bed-fc11d537e10b" Resource Group="MC_rg-om-cluster-preprod_aks-om-cluster-preprod-westus2_westus2" Name="aks-appgw-ingress-preprod"
I1216 03:11:22.305750 1 auth.go:46] Creating authorizer from Azure Managed Service Identity
I1216 03:11:22.305771 1 client.go:118] Getting Application Gateway configuration.
I1216 03:11:22.305888 1 httpserver.go:57] Starting API Server on :8123
Just mention that the ingress it's working if I manually update the application gateway. Address column still empty.
Describe the bug
Created an appgw and enabled aks ingress addon with that existing appgw. After deploying a test app, ingress address column it's empty and the application gateway it's not updating when modifying the ingress, deployment, etc
To Reproduce Creation appgw:
az network application-gateway create -n aks-appgw-ingress -l westus2 -g rg1 --sku Standard_v2 --public-ip-address pip1 --vnet-name vnet1 --subnet subnet1
Enable add-on:
appgwId=$(az network application-gateway show -n aks-appgw-ingress -g rg1 -o tsv --query "id")
az aks enable-addons -n aks-cluster-westus2 -g rg2 -a ingress-appgw --appgw-id $appgwId
Install guestbook app following this article: https://azure.github.io/application-gateway-kubernetes-ingress/tutorials/tutorial.general/
Ingress Controller details
kubectl describe pod ingress-appgw-deployment-687df9db49-qzc27 -n kube-system
kubectl logs ingress-appgw-deployment-687df9db49-qzc27 -n kube-system
Just mention that the ingress it's working if I manually update the application gateway. Address column still empty.