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.
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen