-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
controller should debounce reconcile requests #318
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Revisiting this old issue to ensure we are doing everything we can. Here is a brief overview of what we do:
For anything else there are still the standard approaches;
but these approaches are scarier since you run the risk of creating less idempotent reconcilers that can get into bad states (reconciler thinks it is done, and you cannot re-trigger it because it gate checks itself out of correcting the problem). DebouncingI feel the key question left for this issue is:
5 seconds is probably OK given the heavy work that usually works, but if we ever manage to expose options for the Leaving this open and resolving older comments that are now out of date. |
Closing this. Better scoped issue about how to improve scheduler debouncing linked in #1247 |
It looks to me as if the controller triggers exactly one event for each change that was detected on e.g. an "owned resource".
Assume you have 10 owned resources for each resource, and 10 managed resources. That makes 100 events and thus 100 reconciliations on the startup of an operator.
The same for scheduled/delayed reconcile outcomes.
IMHO the controller queue should queue up a reconcile request if there is no event yet scheduled for this resource, or if the scheduled event is further in the future than the new request.
EDIT: (clux): See #318 (comment)
The text was updated successfully, but these errors were encountered: