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

controller: jitter requeue interval #1184

Merged
merged 3 commits into from
Aug 7, 2023
Merged

controller: jitter requeue interval #1184

merged 3 commits into from
Aug 7, 2023

Commits on Aug 7, 2023

  1. controller: jitter requeue interval

    This adds a `--interval-jitter-percentage` flag to the controller to
    add a +/- percentage jitter to the interval defined in resources
    (defaults to 10%).
    
    Effectively, this results in a reconcilation every 4.5 - 5.5 minutes
    for a resource with an interval of 5 minutes.
    
    Main reason to add this change is to mitigate spikes in memory and
    CPU usage caused by many resources being configured with the same
    interval.
    
    Signed-off-by: Hidde Beydals <[email protected]>
    hiddeco committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    6f3eb22 View commit details
    Browse the repository at this point in the history
  2. api: document jitter effect on interval fields

    Signed-off-by: Hidde Beydals <[email protected]>
    hiddeco committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    e391c2f View commit details
    Browse the repository at this point in the history
  3. spec: add note about jitter in interval sections

    Signed-off-by: Hidde Beydals <[email protected]>
    hiddeco committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c65980e View commit details
    Browse the repository at this point in the history