Skip to content
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

Jitter requeue interval #4120

Closed
4 tasks done
hiddeco opened this issue Aug 1, 2023 · 3 comments
Closed
4 tasks done

Jitter requeue interval #4120

hiddeco opened this issue Aug 1, 2023 · 3 comments
Labels
enhancement New feature or request umbrella-issue Umbrella issue for tracking progress of a larger effort

Comments

@hiddeco
Copy link
Member

hiddeco commented Aug 1, 2023

To better distribute load when many resources have been configured with the same .spec.interval, we want to add +/-% jitter to the defined .spec.interval while requeuing the object after a successful reconciliation.

This behavior will be enabled by default with a value of 10 (between 4.5 and 5.5 minutes for an interval of 5m), but can be disabled or tweaked using the --interval-jitter-percentage flag on a controller.

@hiddeco
Copy link
Member Author

hiddeco commented Aug 14, 2023

After more investigation, I do not think notification-controller, image-automation-controller and image-reflector-controller are good candidates for this. Because they are really lightweight during their reconciliation attempts, or have other means in place to regulate the pace at which things are reconciled (e.g. container registry scanning from the image-reflector-controller).

@stefanprodan
Copy link
Member

+1

Let's remove those controllers from the list and close this issue as completed.

@hiddeco hiddeco closed this as completed Aug 14, 2023
@hiddeco
Copy link
Member Author

hiddeco commented Aug 14, 2023

fluxcd/website#1619 for finalizing the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request umbrella-issue Umbrella issue for tracking progress of a larger effort
Projects
None yet
Development

No branches or pull requests

2 participants