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개 답변
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
답변함 일 년 전

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

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

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

관련 콘텐츠