actions / actions/actions-runner-controller

Support multiple scale sets per listener

Open
#4,169 3 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community enhancement needs triage
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

What would you like added?

I would like to have multiple scale sets but without the extra administrative and resource needs of having multiple listeners (one per scale set).

Why is this needed?

I need different type of runners.
They differ only in their template configuration, everything else is the same (of course their runs-on name should also be different).
The rationale here is to have multiple configurations (different resources, CPU, RAM, storage, different pod annotations (node groups) etc), so we can have different runners for different needs.

Additional context

What we can do now is:

  1. create a controller
  2. create a listener-GHA scale set pair for all runner configurations

While this works, each listener takes up resources (CPU/RAM and Kubernetes objects, like a ServiceAccount, Secret, Role* etc) and I think conceptually a listener could be listening for multiple scale sets and start the pod with the right template if requested.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked charts/gha-runner-scale-set/values.yaml template configuration and trace how the listener and scale set are currently associated. Map how distinct runner templates and runs-on names could be selected, then verify that one listener can support multiple configurations without creating the extra resources described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, kubernetes
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.