cloudfoundry-incubator / eirinix

Extensions Library for Cloud Foundry Eirini
Apache License 2.0
2 stars 5 forks source link

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

Closed mudler closed 4 years ago

mudler commented 4 years ago

This seems to be a common issue also outside of the Golang API library client https://github.com/kubernetes-client/python/issues/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: https://github.com/SUSE/eirini-loggregator-bridge/issues/4