EKS with service type NLB connection resets

0

Hello,

I have a P2P deployment running in EKS. I have deployed a service type of LoadBalacer to that port with the following annotations:

service.beta.kubernetes.io/aws-load-balancer-type: "external"
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip"
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"

Everything is working fine when I connect first client to the IP of the NLB but the problem happens when a second connection comes. It's getting a

read: connection reset by peer

The load balancer metrics show that the reset counters are spiking.

Connecting multiple clients work when I connect them directly to the pod or the service. Also I have checked with TCPDump that the traffic does not even flow to the pod.

  • Are you accessing the NLB from multiple subnets (for different consumer applications) through the NLB DNS name ?

  • Not sure if I'm following your question but:

    1. There's only one pod
    2. The NLB is public-facing, so yes, traffic is coming from different sources/subnets.
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则