does load balancer probes over TCP probe sends any data

Areeb Sarvat 0 Reputation points
2024-08-22T13:35:08.73+00:00

Does load balancer probes in AKS service, sends any data over TCP connection? Suppose I have created a Load balancer type service and external IP is assigned to service. Then, probing starts. Meanwhile, my application is listening on the service port in pod/container to receive actual traffic and load balancer probing also over TCP connection. How can I distinguish between these two incoming traffic whether it is normal or load balancer health check probe?

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,073 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
432 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 25,841 Reputation points Microsoft Employee
    2024-08-22T17:34:35.62+00:00

    @Areeb Sarvat

    Thank you for reaching out.

    I understand you want to know about how to differentiate if the request being sent to the load balancer is a health probe request or actual traffic.

    When a TCP health probe is set up on Azure Load Balancer the TCP probes initiate a connection by performing a three-way open TCP handshake with the defined port. TCP probes terminate a connection with a four-way close TCP handshake. There is no payload associated with these probes.

    How can I distinguish between these two incoming traffic whether it is normal or load balancer health check probe?

    All the health probes are sent with source IP of 168.63.129.16. This way you can distinguish between the health probe and actual traffic. This is currently documented here.

    Additional reference:

    https://video2.skills-academy.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview#probe-source-ip-address

    Hope this helps! Please let me know if you have any additional questions. Thank you!


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.