Azure / application-gateway-kubernetes-ingress

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.
https://azure.github.io/application-gateway-kubernetes-ingress
MIT License
678 stars 422 forks source link

I was just wondering the same thing. I'm not sure if I want a single application gateway for my entire aks cluster. At least, the way I'm reading it is that the agic can only take a single app gateway as an argument. So it's a one to one mapping. #1255

Closed Rashee04 closed 5 months ago

Rashee04 commented 3 years ago

I was just wondering the same thing. I'm not sure if I want a single application gateway for my entire aks cluster. At least, the way I'm reading it is that the agic can only take a single app gateway as an argument. So it's a one to one mapping.

So if I have multiple applications in my cluster and I want them each to have separate application gateways, (Perhaps I want them separate for configuration reasons such as WAF rules or just separation of concerns.) how would I go about doing that?

Can I create multiple app-gateway-kub-ingress controllers that each attach to a different app gateway?

It seems like it might be allowed based on this page, but it's not clearly spelled out. It does say that caution would be needed to make sure multiple ingresses are not watching the same namespaces.

Originally posted by @BarnumD in https://github.com/Azure/application-gateway-kubernetes-ingress/issues/831#issuecomment-621270594

Rashee04 commented 3 years ago

Any update?

fatpowaranga commented 3 years ago

Unless I am misunderstanding current documentation, it is not possible to have multiple gateways per cluster. The docs page you linked references the fact that App gateway ingress controller can handle multiple namespaces, I believe at one point it could only monitor one namespace. But multiple gateways and/or multiple instances of AGIC in the same cluster is not currently supported from what I've seen.