linkerd2/controller/k8s
Dennis Adjei-Baah ad42f2f8ab
Retry k8s watch endpoints on error (#510)
Shortly after conduit is installed in k8s environment. The control plane component that establishes a watch endpoint with k8s run in to networking issues during proxy initialization. During failure, each watcher fails to retry its connection to k8s watch endpoint which leads to timeouts and eventually, multiple controller pod restarts.

This PR adds retry logic to each "watch" enabled package.

fixes #478

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
2018-03-07 13:40:43 -08:00
..
clientset.go Upgrade k8s.io/client-go to v6.0.0 (#122) 2018-01-11 10:22:37 -08:00
endpoints.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00
pods.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00
replicasets.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00
watcher.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00
watcher_test.go Retry k8s watch endpoints on error (#510) 2018-03-07 13:40:43 -08:00