unifios-utilities icon indicating copy to clipboard operation
unifios-utilities copied to clipboard

Load Balancing

Open turowicz opened this issue 3 years ago • 9 comments

I need to set up a virtual IP that will be load balancing across multiple clients in a UDM-PRO managed VLAN. Is it possible to achieve this with this project?

cc @boostchicken

turowicz avatar Jun 21 '21 09:06 turowicz

I'm sure you could run a containerized load balancer / reverse proxy such as NGINX, Traefik, or haproxy on UDM after setting up the base UDM Utilities.

SamErde avatar Jun 21 '21 12:06 SamErde

@turowicz yeah its possible, care to get a bit more techincal on what you want to achieve

boostchicken avatar Jul 03 '21 12:07 boostchicken

I need to be able to host a kubernetes cluster behind a single IP in such a way, that all nodes are assigned traffic in a round-robin fashion.

turowicz avatar Jul 05 '21 11:07 turowicz

I was looking at implementing ha-proxy using the host's networking on my UDMP. I got the container up and running, just having issues with networking on it using its own ip or the hosts.

Fixed it. I might look into PR-ing it here ina couple days when I iron out the bugs.

kashalls avatar Sep 11 '21 03:09 kashalls

@Kashalls that would be awesome

turowicz avatar Sep 13 '21 06:09 turowicz

@Kashalls that would be awesome

I personally prefer using haproxy with the container networking, but some users might find it better to use a seperate ip. What do you think?

kashalls avatar Sep 13 '21 06:09 kashalls

I don't mind as long as its easy to set up

turowicz avatar Sep 13 '21 06:09 turowicz

I don't mind as long as its easy to set up

It's quite easy. Let me fork and pr.

kashalls avatar Sep 13 '21 06:09 kashalls

I don't mind as long as its easy to set up

https://github.com/boostchicken/udm-utilities/pull/239

kashalls avatar Sep 13 '21 07:09 kashalls