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

Allow configuration of waitForPod timeout #128

Open
luqic opened this issue Jan 11, 2024 · 0 comments
Open

Allow configuration of waitForPod timeout #128

luqic opened this issue Jan 11, 2024 · 0 comments

Comments

@luqic
Copy link

luqic commented Jan 11, 2024

Hello!

Is it possible to allow the configuration of the waitForPod timeout?

return wait.PollImmediate(time.Second, time.Minute, func() (bool, error) {

It's currently hardcoded as 1 minute, but pods in my cluster can take longer than that to start up (e.g. when spinning up a new node), resulting in this warning: level=warn caller=main.go:573 ts=2024-01-11T09:24:33.383554728Z msg="failed polling until pod is ready" pod=thanos-receive-3 duration=1m0.010513876s err="timed out waiting for the condition". This results in the Hashring ConfigMap getting updated before all pods are ready.

FYI we have --allow-only-ready-replicas enabled and are on image version main-2023-11-06-c57219e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant