Can we use nginx ingress controller along with AGIC controller

anjali-opstree 20 Reputation points
2024-01-03T14:42:07.36+00:00

here we have deployed AGIC controller along with application gateway as an aks addon can we deploy nginx ingress controller AS well because few of my ingress using nginx-ingress annotation

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,167 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,366 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 26,626 Reputation points Microsoft Employee
    2024-01-09T08:12:18.9166667+00:00

    Hello, @anjali-opstree !

    Can I use multiple ingress controllers with AKS (like AGIC and NGINX)?

    Yes, multiple ingress controllers can be used:

    https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/#using-multiple-ingress-controllers

    It is important to note that the Ingress Class must identify which controller to use (AGIC or NGINX ingress controller). For example:

    https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-annotations#list-of-supported-annotations

    For an Ingress resource to be observed by AGIC, it must be annotated with kubernetes.io/ingress.class: azure/application-gateway. Only then AGIC works with the Ingress resource in question.


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

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.