-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Multiple RateLimiters in a "single" client. #24157
Comments
Note there are currently 3 in the v1.2 client set. One for the core API, one for extensions, and one for discovery. cc @lavalamp @kubernetes/sig-api-machinery |
This is because restclient has the throttler and is also tied to a single group/version. Multiple restclients = multiple throttles. Arguably there should be only one throttler... server side. 😄 |
Automatic merge from submit-queue All clients under ClientSet share one RateLimiter. Currently we create a rate limiter for each client in client set. It makes the reasoning about rate limiting behavior much harder. This PR changes this behavior and now all clients in the set share single rate limiter. Ref. #24157 cc @lavalamp @wojtek-t
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/lifecycle frozen |
/remove-lifecycle stale |
Ref. #22421
Currently one "client", or rather ClientSet consists of multiple clients (one for each API group). This makes reasoning about QPS per component much harder - clients in a single ClientSet should share a single RateLimiter.
cc @wojtek-t @krousey @wojtek-t
The text was updated successfully, but these errors were encountered: