-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Error: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline #12154
Comments
I stumble upon the same error message. After trying back and forth several times, I realized that the timeout had been reached. Increasing the timeout helped me. E.g. 6 minutes timeout: helm install/upgrade --timeout 360 @felipecrs I'm not sure, but I think you need to remove the |
This error looks to have come from Kubernetes / Given the function name there, I think (guess) that you're being throttled / API requests are being rate limited. The machinary is detecting that the determined delay to wait to come under API limits would exceed the context's deadline. |
It looks like So perhaps the error message here is new(ish). Rather than the error cause. |
Thanks for the inputs, but:
|
Thanks, yeah, I noticed also after posting. And updated my post hoping to front any views (to avoid more confusion) |
Does the
I'm not sure. It very much seems the code producing this error is the throttle code for to rate limiting Kubernetes API access. It seems like the calculated delay would need to be >20mins given those numbers for this error to appear. |
Unfortunately no:
The lines above these logs are just a bunch more |
|
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
My final conclusion about this issue is that it is equivalent to a regular helm timeout. I would recommend helm to catch this error and translate it into a regular timeout error message, to avoid confusion for future users. Any opinions? |
This error may occur due to various reasons, not only related to CPU throttling. It could be triggered by a CrashLoopBackoff in a pod while Helm upgrade is waiting for a successful deployment. Alternatively, it might result from a failure in a database initialization job, among other possibilities.
Yes, I would agree with that conclusion; it actually looks like a deployment timeout. The current error message is indeed confusing, and I support the suggestion to have Helm catch this error and translate it into a standard timeout message to improve clarity for users. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Still valid. |
Can you please quickly summarize why this is the case? (For someone who has lost track of the exact details here 😓, and for future readers of this issue) |
I think simplest way to come to this conclusion is to check how much time helm took to fail with this error. It should take the same as you specified as |
Facing a similar issue: client rate limiter Wait returned an error: context deadline exceeded. I started facing this when I added a pod anti affinity rule to my helm chart. |
getting the same error. Still valid |
getting exact same error. |
Same issue |
Still valid |
still valid |
+1 also experiencing this |
+1 also experiencing this |
still valid |
This also suddenly started affecting us today (deploying to AKS |
still valid |
+1 still a valid issue. |
+1 And still valid |
+1 still valid |
+1 |
+1 still valid |
1 similar comment
+1 still valid |
+1 |
Still valid |
client.Timeout = time.Duration(Args.Timeout) * time.Second is work for me |
+1 |
2 similar comments
+1 |
+1 |
Hello, I'm receiving this error when installing one of my charts:
I'm afraid I cannot share the chart itself as it's an internal chart, but searching through the issues in helm I could not find any direct matches. Most of them says
context deadline exceed
, like these:But none says
would exceed context deadline
.Is there any debug tips someone can share? I don't even know where to begin.
Things I tried already:
HELM_BURST_LIMIT=200
None changes the result. With debug logs enabled:
The Helm command line:
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.): K3S
The text was updated successfully, but these errors were encountered: