Hi Lý Tiến Dũng,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Egress Traffic to External Network (Internet):
For outbound traffic directed towards the external network (internet), the public IP address associated with the Standard Load Balancer (SLB) is utilized. This configuration allows the SLB to manage outbound connections effectively and offers a public IP address for the egress traffic of the cluster.
Egress Traffic to Internal Network (Private Network) :
For outbound traffic directed towards a service located within the same Azure virtual network (private network), the private IP address of the pod is utilized. Consequently, when a pod interacts with another service within the same virtual network, the traffic bypasses the public IP of the Load Balancer (SLB). Instead, it relies on the private IP addresses allocated to the pods and nodes within the subnet.
please refer the below document:
https://learn.microsoft.com/en-us/azure/aks/egress-udr?source=recommendations
If the information is helpful, please consider by clicking the "Upvote" on the post.
If you have any further queries, please let us know in the comment.
Thank you.