Skip to content

Autoscaling for an organization runner #158

@jeffj254

Description

@jeffj254

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions