Replies: 1 comment
-
Closing the discussion due to bug report creation - #2659 Added my own debugging to figure out what's going on. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I'm running v0.27.4 on AWS EKS and haven't found any related issue / discussion.
I've created RunnerDeployments and HorizontalScaler purely based on the
TotalNumberOfQueuedAndInProgressWorkflowRuns
metric to just pull-based react to a set of repositories.What I noticed is that even though none of the repositories is using the runner label that I've defined, I still get runners spawned since the controller is reacting to unrelated workflow schedules.
I didn't create a bug ticket yet since I've no 100% replicable case yet but tried scaling it down to a single repository and even that ended up triggering the controller eventually with a
ubuntu-latest
label.Does anyone know how one could debug it further? I didn't find any other setting to at least check from the logs that workflow x from repo y has triggered a scale-up due to being queued.
My current debug setup as mentioned is a single workflow with
ubuntu-latest
and the repo is tracked by my horizontalscaler. Eventually, it will trigger a scale-up of unrelated RunnerDeployments that don't have theubuntu-latest
label but it's not a 100% thing. Feels like an edge case or race condition that is happening.The thing is that this scale-up triggers every single horizontalscaler / runnerdeployment that I've configured like this. I even had some unrelated
ubuntu-latest
runs stuck from 3 weeks ago, which ended up scaling those RunnerDeployments.From reading the docs, my understanding is that the scaling would only happen based on the used labels and not any queued workflow.
Controller logs
HorizontalRunnerAutoscaler
RunnerDeployment
Beta Was this translation helpful? Give feedback.
All reactions