0
votes

I have the following scenario:

  • AKS Kubernetes Cluster
  • Traefik Ingress Controller
  • Some apps deployed inside K8s, using IngressRoutes to have different routes

Now I want to have an Azure App Gateway in front of Traefik, which does TLS termination and routes every traffic to Traefik Ingress Controller. Unfortunately, I could not find the right configuration or any docs to make it happen. Can you guys hint me in the right direction?

1
I think your App Gateway needs to point to a load balancer in your Ingress Controller. The load balancer should have its own public ip that you can forward traffic to.Carson

1 Answers

0
votes

Since both does the same L7 load balancing/routing/Tls Termination. I would suggest deleting the traefik and use Application Gateway Ingress Controller Instead.

https://azure.github.io/application-gateway-kubernetes-ingress/

Pros: You get one less component in the system Cons: Locked in to Azure, difficult to port out

If you still want to keep both, it is pretty straightforward configuration as you get a static ip(or DNS) that can be put in the backend pool of Application gateway.