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

Set QPS and Burst when impersonating service account #422

Merged
merged 1 commit into from
Feb 21, 2022
Merged

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Feb 21, 2022

We don't map the client QPS and Burst setting resulting in client-side throttling when impersonating, making the kube-prom-stack upgrade take 25 minutes instead of one minute.

@uderik
Copy link

uderik commented Feb 21, 2022

After apply this patch, helmrelease reconcilation finished in 55.092283623s
with:
- --kube-api-qps=1000
- --kube-api-burst=1000

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made an attempt to move the growing set of constructor flags to options, but need to have a bit of a think about what they should be wired to (e.g. rest.Config or the MemoryRESTClientGetter). This looks good to me for now, thanks @stefanprodan and @uderik 🙇

@hiddeco hiddeco merged commit f8855da into main Feb 21, 2022
@hiddeco hiddeco deleted the fix-qps-burst branch February 21, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants