k3s/pkg/agent
Brad Davidson f970e49b7d Wait for apiserver to become healthy before starting agent controllers
It is possible that the apiserver may serve read requests but not allow
writes yet, in which case flannel will crash on startup when trying to
configure the subnet manager.

Fix this by waiting for the apiserver to become fully ready before
starting flannel and the network policy controller.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-26 19:28:53 -08:00
..
config Add support for retagging images on load from tarball 2021-02-17 11:48:03 -08:00
containerd Limit zstd decoder memory 2021-02-17 11:48:03 -08:00
flannel Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
loadbalancer Add disable flags for control components (#2900) 2021-02-12 17:35:57 +02:00
netpol Replace options.KubeRouterConfig with config.Node and remove metrics/waitgroup stuff 2021-02-03 10:41:51 -08:00
proxy Add disable flags for control components (#2900) 2021-02-12 17:35:57 +02:00
syssetup Add iptable_nat to modprobe list 2020-10-27 14:22:14 -04:00
templates Disable containerd experimental snapshot labels 2020-11-05 15:51:10 -08:00
tunnel Add disable flags for control components (#2900) 2021-02-12 17:35:57 +02:00
util Add support for retagging images on load from tarball 2021-02-17 11:48:03 -08:00
run.go Wait for apiserver to become healthy before starting agent controllers 2021-02-26 19:28:53 -08:00