AKS application gateway ingress is not getting IP assigned

Reshma Nair 140 Reputation points
2023-08-02T13:31:50.7566667+00:00

Hi Team,

I have created an AKS cluster(windows nodepool) with Azure Application Gateway as ingress controller. Networking also enabled.

Then I tried to apply my Kubernetes ingress manifest file and it is created successfully. But IP address is not allocated to the ingress. I tried many possible ways but not able to find a solution. I am a beginner to Azure platform. Please help me if anyone is having the solution for this issue. Thanks in Advance.

(NB : I have created everything using terraform azure kubernetes provider)

PS C:.................> kubectl get ingress

NAME CLASS HOSTS ADDRESS PORTS AGE

ingress-appgw azure-application-gateway o............com 80, 443 13m

Screenshot 2023-08-02 153012

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,217 questions
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mutaz Nassar 2,361 Reputation points Microsoft Employee
    2023-08-02T14:18:13.4166667+00:00

    Hi Reshma Nair,

    Have you checked the ingress pod logs, it should show the public IP and in case there is any error:
    kubectl logs -n kube-system -l app=ingress-appgw -f

    Also, the ingress IP address should be the same IP address of the application gateway which deployed in the MC_* resource group.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.