Load Balancing issue with HTTP source/sink and Vector source/sink #19409
-
Hi Issue 1: Load Balancing with HTTP Source and Sink in Kubernetes EnvironmentDescription:I am currently facing an issue with load balancing when using two vectors that connect to each other with HTTP as the source and sink in a Kubernetes environment. Specifically, when I increase the replica count of the HTTP server vector, the traffic does not seem to be evenly distributed among the replicas. I have checked for keep alive configuration and other related settings but haven't found a solution. Issue 2: Loss of Basic Auth Feature with Vector as Source and SinkDescription:Another challenge I'm facing is that when I use the vector type as both the source and sink for these two vectors, I seem to lose the basic authentication feature. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
From what I gather, it appears that deploying a load balancer at the front end might be a only solution. Is it correct to assume that using HAProxy for Vector type and Nginx for HTTP type is a viable strategy? |
Beta Was this translation helpful? Give feedback.
-
How many client Vector instances do you have? If you only have a single client, it's possible that it is directing all of its traffic to a single server Vector instance even though load balancing is properly set up. Besides that, how did you install Vector in Kubernetes? Did you create a service and are you pointing at the service's endpoint in the client Vector? Doing so should properly set up load balancing without introducing HAProxy or Nginx. |
Beta Was this translation helpful? Give feedback.
There is an open issue related to this for the Vector sink #10728. I also opened #19457 to track adding this functionality to the server side.