How to fix Load balancer and AKS connection issues

Anonymous
2023-01-16T23:58:17.7933333+00:00

Hi,
My azure Load balancer VMSS status showing un healthy and my application is down since the load balancer can not forward the incoming traffic to AKS but I don't see any issue with AKS service, all the container/pods are running as expected, I verified by following the guide lines from here
[https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/connection-issues-application-hosted-aks-cluster
Attached is what I can see in Load balancer Insights..
Screen Shot 2023-01-16 at 6.54.23 PM

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
506 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
450 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Adam Zachary 2,936 Reputation points
    2023-01-17T23:30:04.6766667+00:00

    Can you please share a screenshot of the issue?

    I had a similar issue few months ago. I followed these steps while troubleshooting, my issue was fixed.

    Please have a look! might be helpful to check it out.

    [https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-troubleshoot-health-probe-status

    1 person found this answer helpful.
    0 comments No comments

  2. msrini-MSFT 9,291 Reputation points Microsoft Employee
    2023-01-19T20:17:18.81+00:00

    Hi,

    I would suggest you to take a packet capture on the Linux instances and check for the health probe that you have configured. If you have configured for the TCP probe, check if the TCP handshake is happening fine. If it is a HTTP probe, check for the 200 response from your server. If probe looks good, then initiate traffic to the lb and then try to track that session in your capture to figure out.

    1 person found this answer helpful.
    0 comments No comments

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.