k3s/pkg/agent/loadbalancer
Brad Davidson c0d129003b Handle loadbalancer port in TIME_WAIT
If the port wanted by the client load balancer is in TIME_WAIT, startup
will fail. Set SO_REUSEPORT so that it can be listened on again
immediately.

The configurable Listen call wants a context, so plumb that through as
well.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-03-08 17:05:25 -08:00
..
config.go Use go tcpproxy 2019-07-30 09:53:15 -07:00
loadbalancer_test.go Handle loadbalancer port in TIME_WAIT 2021-03-08 17:05:25 -08:00
loadbalancer.go Handle loadbalancer port in TIME_WAIT 2021-03-08 17:05:25 -08:00
servers.go Use go tcpproxy 2019-07-30 09:53:15 -07:00
utility.go Use go tcpproxy 2019-07-30 09:53:15 -07:00