-
Notifications
You must be signed in to change notification settings - Fork 22
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
Explicitly set a rate limiter for controller config #416
Conversation
84cff8c
to
db0697d
Compare
/retest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #416 +/- ##
==========================================
+ Coverage 25.18% 26.91% +1.72%
==========================================
Files 19 19
Lines 1326 1360 +34
==========================================
+ Hits 334 366 +32
- Misses 992 994 +2 ☔ View full report in Codecov by Sentry. |
db0697d
to
8728c09
Compare
just documenting here for completeness. https://stuartleeks.com/posts/error-back-off-with-controller-runtime/ |
This article is slightly outdated. Newer versions of the controller-runtime directly use |
8728c09
to
199ce30
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adiantum, dkoshkin, thunderboltsid The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
199ce30
to
277e75b
Compare
/retest |
pls create a tracker to test the behavior in general either manual or automated |
The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
277e75b
to
394d9cb
Compare
/retest |
1 similar comment
/retest |
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
…ig (#416) The rate limiter base delay and max delay values can be configured using flags. The default values are 500ms for base delay and 15min for max delay.
The rate limiter is a MaxOfRateLimiter similar to the default one. However, now the base delay, max delay, bucket size, and qps can be configured using flags. The default values are 500ms for base delay and 15min for max delay in the exponential backoff limiter (custom values) and 10 qps and 100 bucket size for the bucket limiter (same as the default one).