-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
use ResyncPeriod func in case of multi controllers list simultaneously #648
Comments
We generally recommend not touching resync period (because it often doesn't do what you think it does), and using ResyncAfter or something else if you really need periodic behavior |
(closing for now, feel free to keep commenting) |
@DirectXMan12 Sorry, I may not express myself clearly. my point is the default behaviour of controller-runtime for now is all reflectors will do resync action simutaneourly, which means multiple controllers may all hammer the apiserver with list requestes. |
Ok, so to summarize -- this is about adding jitter to the resync interval? |
I think that seems reasonable |
like kube-controller-manger do
The text was updated successfully, but these errors were encountered: