-
Notifications
You must be signed in to change notification settings - Fork 53
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
Question regarding reconciliation. #323
Comments
It checks the status. Check the controller logs for errors if it does not scale up/down. |
The logs don't show any errors. I have my runners set up delete themselves after they complete a single job. The operator detects the deleted pods correctly and scales up to meet the minimum pool size of 2, but does not scale up when any of the runners are in an active state. |
it depends a bit on the state of them in github - if they simply disappear they are probably still registered as alive, and maybe also still active. |
Closing due to lack of activity. |
@davidkarlsen Just getting back to this now. I have confirmed that there is an issue with the operator differentiating between I have my deployment configured to maintain a pool size of at least However, the problem I'm seeing that when a runner enters an |
@blakjak44 It will scale up if the pool is saturated, the logic is here: https://github.com/evryfs/github-actions-runner-operator/blob/master/controllers/githubactionrunner_controller.go#L124
|
@davidkarlsen Ok are you interested in adding a configuration option that would allow setting the number of busy runners to be considered saturated? The reason I ask is because we are using your operator to manage a pool of VMs, and the startup time is significantly slower than for containers, so we would like to make sure we always have a pool of |
@blakjak44 OK, I understand your usecase. So basically you're looking for a Can you create a new issue for this?
|
@davidkarlsen Yes exactly. Opened issue #417. Thanks! |
Does reconciliation query for the status of a runner (i.e.
active
vsidle
) or does it only check to see whether there is a registered runner for the underlying pod?I ask because the operator doesn't seem to be scaling up when runners are in the
active
state. I would think that the automated scaling would check how many runners are busy and spawn new runners to ensure that there are enoughidle
runners to meet the spec requirement.The text was updated successfully, but these errors were encountered: