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.
已提問 1 個月前檢視次數 199 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南