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.
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠