TCP connection dropped on load from NLB

1

Hi, I am using nlb for serving rtmp connections. Targets of nlb are multiple nodes in eks cluster and on nodes there are nginx-rtmp pods. When i stream multiple streams, i am getting connection dropped at client side, and getting "drop idle stream" log on nginx-rtmp. my idle timeout configuration on nginx-rtmp is 30 sec. I am using ec2 instances to generating load which have 5GB bandwidth.

I am not able to found why this is happening. Multiple connections dropping in a single second. and sometimes all of them are on same node. Also when i am checking NLB access logs i found only two ips in target ip and i am not able to found both ip on any pod or node.

1 Respuesta
0

Rather than setting the nodes as the targets of the NLB, and relying on further resolution by the Kubernetes service, please consider using a Kubernetes LoadBalancer Service object with the AWS LoadBalancer Controller and run it in IP mode to directly target each pod.

  1. Installing AWS LoadBalancer Controller: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.5/deploy/installation/
  2. Creating the Kubernetes Service object: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.5/guide/service/nlb/
AWS
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas