Trying to propagate kube-runtime to all external repo actix examples and noticing a few things that should be made better for a smoother experience:
- users need to import
watcher when using reflector (even if they expose the same events and they only use one)
- users need to import
Writer when using reflector (even though they cannot really use it sensibly)
Proposed solutions:
Edit: crossing out a few from feedback.
Edit2: removing ancient comments here, as a long time has passed here.
Trying to propagate
kube-runtimeto all external repo actix examples and noticing a few things that should be made better for a smoother experience:watcherwhen usingreflector(even if they expose the same events and they only use one)Writerwhen usingreflector(even though they cannot really use it sensibly)Proposed solutions:
Cache<T>aroundreflector- Cache: implement a builder wrapper for reflector #698Cachebuilder to allow retrieving a reader as inController- Cache: implement a builder wrapper for reflector #698Watcher<T>builder - Add backoff handling for watcher and Controller #703Edit: crossing out a few from feedback.
Edit2: removing ancient comments here, as a long time has passed here.