Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Consume RetryWatcher, or provide an option to switch default implementation #20

Closed
mudler opened this issue Jan 29, 2020 · 0 comments
Closed

Comments

@mudler
Copy link
Member

mudler commented Jan 29, 2020

This seems to be a common issue also outside of the Golang API library client kubernetes-client/python#124 .

It probably would be a good Idea to offer a way to switch implementation with a retrial mechanism, or directly consume https://github.com/kubernetes/client-go/blob/master/tools/watch/retrywatcher.go#L59

Context: cloudfoundry-incubator/eirini-loggregator-bridge#4

mudler added a commit that referenced this issue Jan 29, 2020
It's a proxy to the real Watcher which handles etcd and API
reconnections transparently

Fixes #20
@mudler mudler closed this as completed in 308dae8 Jan 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant