Sub topic 3
Actions Runner Controller in context
This chapter places Actions Runner Controller (ARC) next to the static self-hosted runners you may already run. It assumes you know basic GitHub Actions workflows, Kubernetes pods and namespaces, and the idea of an ephemeral runner from the previous chapter.
What ARC is
ARC is a Kubernetes operator maintained by GitHub. An operator is a controller that watches custom resources in the cluster and creates or removes other objects to match them. ARC watches GitHub's job queue and turns queued jobs into runner pods. When a job finishes, the pod is deleted.
The result is a pool of runners that grows and shrinks with demand. Each runner is ephemeral, so each job gets a clean environment.
Static runners compared with ARC
A static runner is a virtual machine or server where you install the runner software once. It stays registered and picks up jobs until you remove it. ARC replaces that model with short-lived pods.
| Concern | Static self-hosted runner | ARC runner scale set |
|---|---|---|
| Lifetime | Long-lived, reused across jobs | One pod per job |
| Clean state | You must clean up between jobs | Fresh pod every time |
| Capacity | Fixed by the machines you provision | Scales between `minRunners` and `maxRunners` |
| Idle cost | Machines run all the time | Can scale to zero |
| Updates | Patch each host | Change the image or chart values |
| Registration | Manual token per runner | Handled by ARC |
Static runners are simpler when you have a few machines and steady load. They cost you in leftover files, credentials, and processes that earlier jobs left behind, and in capacity that sits idle or runs out.
Which ARC this tutorial covers
Two projects share the name "Actions Runner Controller":
- The runner scale set mode, maintained by GitHub. It uses the charts
gha-runner-scale-set-controllerandgha-runner-scale-set. This tutorial covers this one. - The legacy community version, which uses
RunnerDeploymentresources and webhook or polling-based scaling. It is a separate codebase.
Check the Helm chart name and the resource kinds when you read other guides. Instructions for one version do not apply to the other.
Where ARC fits
ARC runs inside a Kubernetes cluster you already operate. It needs outbound HTTPS access to GitHub. GitHub does not need to reach into your cluster, so you do not expose an inbound endpoint.
The next chapter describes the pieces inside the "ARC in cluster" box: the controller, the scale set, the listener, and the runner pods.
What ARC does not do
- It does not add nodes. If pods cannot be scheduled, they stay pending until a cluster autoscaler or you provide capacity.
- It does not make jobs secure by itself. Runners execute workflow code, so namespace, credential, and container settings still matter.
- It does not remove the need for sizing. Resource requests and limits on runner pods are your responsibility.
Exercise
Name two differences between a static self-hosted runner and an ARC runner, and say which ARC project this tutorial covers.
Show answer
Any two of: ARC runners are one pod per job rather than reused across jobs; ARC scales between minRunners and maxRunners and can scale to zero; ARC handles registration and updates through Helm values. This tutorial covers the GitHub-maintained runner scale set mode (charts gha-runner-scale-set-controller and gha-runner-scale-set), not the legacy community version.