Traffic Manager Health Check - AKS

Miguel García Feal 1 Reputation point
2022-10-25T09:02:08.927+00:00

Hi,

We are deploying Traffic Manager to balance two datacenters as Active-Passive. Our platform is based in a lot of microservices using AKS.
In Traffic Manager we are thinking the best option to monitoring the services. We thought a few options:

  • Check the public IP of the Application Gateway that exposes Kubernetes pods.
  • Check the status of a pod.
  • Check the Kubernetes service?
  • ...

What method is recommended?
I understand that if Application Gateway doesn't respond, our clients can't connect to our apps, so we need to change to another datacenter.

Any suggestions?
If check Application Gateway is the recommended option, how can we test it?

Thanks!

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
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,001 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.
1,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msrini-MSFT 9,266 Reputation points Microsoft Employee
    2022-10-25T14:22:11.45+00:00

    Hi,

    You can choose Priority based load balancing method in traffic manager.

    When it comes to health probe configuration, you can either choose HTTP or HTTPS or TCP.

    You cannot choose TCP because App GW will always listen on the port of your service.

    You will need to go with HTTP/HTTPS based probe, where if the service returns you a non 200 OK response and it crosses the threshold then, Traffic Manager will start switching to the secondary endpoint.

    When both endpoint receives non 200 OK response, then TM will resolve to both the IPs. So client can actual sent the request to the server and server returns the error.

    Regards,
    Karthik Srinivas