linkerd2/controller/webhook
Alex Leong b0778bb2ea
Readiness checks fail until caches are synced (#10166)
Fixes https://github.com/linkerd/linkerd2/issues/10036

The Linkerd control plane components written in go serve liveness and readiness probes endpoint on their admin server.  However, the admin server is not started until k8s informer caches are synced, which can take a long time on large clusters.  This means that liveness checks can time out causing the controller to be restarted.

We start the admin server before attempting to sync caches so that we can respond to liveness checks immediately.  We fail readiness probes until the caches are synced.

Signed-off-by: Alex Leong <alex@buoyant.io>
2023-01-25 11:43:09 -08:00
..
launcher.go Readiness checks fail until caches are synced (#10166) 2023-01-25 11:43:09 -08:00
server.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00
server_test.go Use metadata API in the proxy and tap injectors (#9650) 2022-11-16 09:21:39 -05:00
util.go viz: add tap-injector (#5540) 2021-01-21 11:24:08 -05:00