Files
k3s/vendor/github.com
Brad Davidson 7cdfaad6ce Always use static ports for client load-balancers (#3026)
* Always use static ports for the load-balancers

This fixes an issue where RKE2 kube-proxy daemonset pods were failing to
communicate with the apiserver when RKE2 was restarted because the
load-balancer used a different port every time it started up.

This also changes the apiserver load-balancer port to be 1 below the
supervisor port instead of 1 above it. This makes the apiserver port
consistent at 6443 across servers and agents on RKE2.

Additional fixes below were required to successfully test and use this change
on etcd-only nodes.

* Actually add lb-server-port flag to CLI
* Fix nil pointer when starting server with --disable-etcd but no --server
* Don't try to use full URI as initial load-balancer endpoint
* Fix etcd load-balancer pool updates
* Update dynamiclistener to fix cert updates on etcd-only nodes
* Handle recursive initial server URL in load balancer
* Don't run the deploy controller on etcd-only nodes
2021-03-06 02:29:57 -08:00
..
2019-09-05 15:16:39 -07:00
2019-09-27 16:54:32 -07:00
2020-12-08 22:51:34 -08:00
2019-09-05 15:16:39 -07:00
2019-01-11 21:58:27 -07:00
2019-11-15 21:52:07 -07:00
2020-08-28 17:18:31 -07:00
2020-11-09 10:19:00 -07:00
2019-09-27 16:54:32 -07:00
2019-09-05 15:16:39 -07:00
2019-01-11 21:58:27 -07:00
2019-09-27 16:54:32 -07:00
2020-12-08 22:51:34 -08:00
2020-06-06 22:38:12 -07:00
2019-09-27 16:54:32 -07:00
2019-09-05 15:16:39 -07:00
2019-01-11 21:58:27 -07:00
2019-09-27 16:54:32 -07:00
2019-01-11 21:58:27 -07:00
2020-08-28 17:18:31 -07:00
2019-05-16 01:05:32 +02:00
2020-08-28 17:18:31 -07:00
2020-08-05 18:22:05 +09:00
2020-08-28 17:18:31 -07:00
2020-12-08 22:51:34 -08:00
2021-02-23 23:31:08 -08:00
2020-08-28 17:18:31 -07:00
2019-09-27 16:54:32 -07:00
2020-12-08 22:51:34 -08:00
2020-04-18 23:59:08 -07:00
2020-06-06 22:38:12 -07:00
2020-08-28 17:18:31 -07:00
2020-08-28 17:18:31 -07:00
2019-01-11 21:58:27 -07:00
2019-01-11 21:58:27 -07:00
2019-09-27 16:54:32 -07:00
2020-10-28 13:03:47 -07:00
2019-04-08 22:50:54 -07:00
2019-04-08 22:50:54 -07:00
2019-09-27 16:54:32 -07:00
2019-01-11 21:58:27 -07:00
2020-10-28 13:03:47 -07:00
2019-11-15 21:52:07 -07:00
2019-09-05 15:16:39 -07:00
2020-08-28 17:18:31 -07:00
2019-09-05 15:16:39 -07:00
2019-09-05 15:16:39 -07:00
2019-01-11 21:58:27 -07:00
2019-09-27 16:54:32 -07:00
2020-08-28 17:18:31 -07:00
2019-01-11 21:58:27 -07:00
2020-04-18 23:59:08 -07:00
2020-08-29 21:44:18 -07:00
2019-08-30 23:08:05 -07:00
2019-09-27 16:54:32 -07:00
2020-08-28 17:18:31 -07:00
2019-09-27 16:54:32 -07:00
2019-09-27 16:54:32 -07:00
2020-06-06 22:38:12 -07:00
2020-12-08 22:51:34 -08:00
2020-08-29 21:44:18 -07:00
2019-09-27 16:54:32 -07:00
2020-08-28 17:18:31 -07:00
2020-06-06 22:38:12 -07:00