-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReflectorRunnable retries at a very high frequency while trying to reconnect informer #1030
Comments
this is weird.. by default, the reflector retries list-watching w/ a constant 1 second backoff.. but from your pasted logs, it looks like looping w/o any backing-off.. what version are you using? java/util/src/main/java/io/kubernetes/client/informer/cache/Controller.java Lines 107 to 108 in 8f5aabe
additionally customized exception handling for lister-watcher is supported by #1026. you're free to develop your own backoff policy in the handler. thanks. |
I'm on version 8.0.2 |
Based on the linked code, it does seems like it should retry at 1 second interval only. And I'm on the latest version too. Weird. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
When a shared informer is created on a cluster,
ReflectorRunnable
keeps retrying list-watch at a very high frequency and filling up the logs with stack traces. Any clues on how to go about fixing this? Is it ok to just suppress this logger?Check the timestamps - it seems to be retrying too fast.
Exception stack trace for the error lines:
The text was updated successfully, but these errors were encountered: