-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Autoscaling for an organization runner #158
Comments
List organization repositories API can solve this issue? |
https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization this would work too if youre not on GHE. |
Thank you so much for your efforts on #213 @erikkn! TL;DR; I think we have a possible solution to this now. Try using Today, we have two scaling strategies The only known downside of |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Warashi BTW, the List Organizations API solves only part of the problem. You can definitely fix it to not force us to list all the repos under |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There are 2 ways to achieve Horizontal Autoclavability on Ephemeral Runner. Pull Driven Scaling - The Scale in and out is based on Metrics attribute. The Metrics could be of TotalNumberOfQueuedAndInProgressWorkflowRuns or PercentageRunnersBusy But what would be the best recommended approach and why ? |
I'm experimenting with self-hosted runners on Kubernetes. I'm trying to setup an auto-scaled runner deployment for an entire org in GitHub. While I can specify the org in the RunnerDeployment config, it seems like I'm only able to have this deployment scale by listing specific repos in repositoryNames in the HorizontalRunnerAutoscaler to watch for the number of pending workflows. Is there any way to scale based on all workflows across an entire org?
It doesn't look like the Actions API currently has a "list runs for organization" endpoint, so maybe that answers my question, but I figured I'd ask in case I was missing something.
The text was updated successfully, but these errors were encountered: