-
Notifications
You must be signed in to change notification settings - Fork 31
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
Controller stops accepting jobs from the cluster queue #302
Comments
Hi @aressem, did you discover anything with your tests where the number is set to 0? |
@DrJosh9000 , the pipeline works as expected with |
Same issue when testing with 2024-05-21T21:31:57.923Z DEBUG limiter scheduler/limiter.go:79 max-in-flight reached {"in-flight": 1} |
i saw the same issue, |
🤔 Maybe the controller should periodically survey the cluster, and adjust tokens accordingly. |
We have the
agent-stack-k8s
up and running and works fine for a while. However, it suddenly stops accepting new jobs and the last thing it outputs is (we turned on debug):We currently only have a single pipeline, single cluster and single queue. When this happens there are no jobs or pods named
buildkite-${UUID}
in the k8s cluster. Executingkubectl -n buildkite rollout restart deployment agent-stack-k8s
makes the controller happy again and it starts jobs from the queue.I suspect that there is something that should decrement the
in-flight
number, but fails to do so. We are now running a test where this number is set to 0 to see if that works around the problem.The text was updated successfully, but these errors were encountered: