k3s/pkg/agent
Brad Davidson 9841517457 Fix agents removing configured supervisor address
We shouldn't be replacing the configured server address on agents. Doing
so breaks the agent's ability to fall back to the fixed registration
endpoint when all servers are down, since we replaced it with the first
discovered apiserver address. The fixed registration endpoint will be
restored as default when the service is restarted, but this is not the
correct behavior. This should have only been done on etcd-only nodes
that start up using their local supervisor, but need to switch to a
control-plane node as soon as one is available.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-07-15 09:46:52 -07:00
..
config Fix agents removing configured supervisor address 2024-07-15 09:46:52 -07:00
containerd Switch stargz over to cri registry config_path 2024-05-23 13:35:15 -07:00
cri Wait for cri-dockerd socket (#6812) 2023-01-27 13:16:59 -08:00
cridockerd Use fixed stream server bind address for cri-dockerd 2024-05-23 13:33:27 -07:00
flannel Update flannel to v0.25.4 and fixed issue with IPv6 mask 2024-07-01 18:57:34 +02:00
https Fix agent supervisor port using apiserver port instead 2024-06-13 15:13:21 -07:00
loadbalancer Fix reentrant rlock in loadbalancer.dialContext 2024-07-15 09:46:52 -07:00
netpol Fix netpol crash when node remains tained unintialized 2024-05-28 23:34:44 -07:00
proxy Fix bug that caused agents to bypass local loadbalancer 2024-06-04 11:18:45 -07:00
syssetup Preload iptable_filter/ip6table_filter 2022-12-13 12:51:00 -08:00
templates Switch stargz over to cri registry config_path 2024-05-23 13:35:15 -07:00
tunnel Fix agents removing configured supervisor address 2024-07-15 09:46:52 -07:00
util fix typo, use rancher/permissions 2024-06-07 08:00:44 -07:00
run.go Fix agents removing configured supervisor address 2024-07-15 09:46:52 -07:00
run_linux.go Added runtime classes for crun/wasm/nvidia 2023-12-08 15:49:28 -03:00
run_test.go Transition from deprecated pointer library to ptr (#9801) 2024-03-28 10:07:02 -07:00
run_windows.go Add --image-service-endpoint flag (#8279) 2023-09-27 13:20:50 -07:00