k3s/pkg/util
Brad Davidson cd4ddedbc9 Fix issue with loadbalancer failover to default server
The loadbalancer should only fail over to the default server if all other server have failed, and it should force fail-back to a preferred server as soon as one passes health checks.

The loadbalancer tests have been improved to ensure that this occurs.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-11-13 19:41:45 -08:00
..
services Add supervisor cert/key to rotate list 2024-04-05 10:59:17 -07:00
api.go remove deprecated use of wait functions 2024-07-29 16:23:17 -07:00
apierrors.go Fix issue with loadbalancer failover to default server 2024-11-13 19:41:45 -08:00
cert.go Add support for cross-signing new certs during ca rotation 2023-03-13 16:56:28 -07:00
client.go Use distinct clients for supervisor, deploy, and helm controllers 2023-05-30 18:15:11 -07:00
client_test.go Handle multiple arguments with StringSlice flags (#7380) 2023-05-02 09:55:48 -07:00
command.go VPN PoC 2023-06-09 12:39:33 +02:00
errors.go Initial windows support for agent (#3375) 2021-06-01 12:29:46 -07:00
file.go Add write-kubeconfig-group flag to server (#9233) 2024-05-30 23:45:34 -07:00
gates.go Exporting the AddFeatureGate function and adding a unit test for it. (#3661) 2021-07-28 13:04:42 -07:00
gates_test.go Exporting the AddFeatureGate function and adding a unit test for it. (#3661) 2021-07-28 13:04:42 -07:00
labels.go Add FilterCN function to prevent SAN Stuffing 2023-08-02 11:15:39 -07:00
net.go Refactor supervisor listener startup and add metrics 2024-05-28 16:24:57 -07:00
net_test.go Include node-external-ip in serving-kubelet.crt SANs (#4620) 2021-12-07 15:42:40 -08:00
net_unix.go Refactor supervisor listener startup and add metrics 2024-05-28 16:24:57 -07:00
net_windows.go Refactor supervisor listener startup and add metrics 2024-05-28 16:24:57 -07:00
reflect.go Disable deprecated insecure port 2021-08-20 18:47:16 -07:00
token.go Add server token hash to CR and S3 2023-10-12 15:04:45 -07:00