Sub topic 6
Installing the controller
This chapter installs the ARC controller with Helm and checks that it is healthy. It assumes you can use kubectl and helm against a cluster where you may create namespaces, and that you know what a Deployment and a namespace are. The controller is the first of two Helm installs. The runner scale set comes in the next chapter.
What the controller does
The controller is a Kubernetes operator that runs in its own namespace. It watches the custom resources that ARC defines, such as AutoscalingRunnerSet and EphemeralRunner. It also creates the listener pod for each scale set. The controller does not run jobs and does not need GitHub credentials. Credentials belong to each scale set.
Keep the controller in a separate namespace from the runners. This lets you apply different access rules and quotas to each. This tutorial uses arc-systems for the controller and arc-runners for runner pods.
Install with Helm
The chart is published as an OCI artifact on GitHub Container Registry, so you do not add a Helm repository first. Run:
helm install arc \
--namespace arc-systems \
--create-namespace \
oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controllerThe release name arc is a label for this installation. The --create-namespace flag creates arc-systems if it does not exist. Without a --version flag, Helm installs the latest chart. For repeatable installs, pin a version with --version, and use the same version for the scale set chart later.
Verify the installation
Check the Helm release first, then the pods:
helm list --namespace arc-systems
kubectl get pods -n arc-systemsYou should see the release in the deployed state and one controller pod in Running state. Right now there is no listener pod. The listener appears only after you install a scale set.
To see the CRDs the chart registered, run:
kubectl get crd | grep actions.github.comCommon errors
| Symptom | Likely cause | What to check |
|---|---|---|
| `helm install` fails to pull the chart | No network path to `ghcr.io`, or an old Helm version | Run `helm version`. OCI support needs Helm 3.8 or later. |
| Controller pod in `ImagePullBackOff` | Nodes cannot reach the registry | Run `kubectl describe pod` and read the events. |
| Controller pod in `CrashLoopBackOff` | Missing CRDs or too little permission | Run `kubectl logs` on the pod. Confirm you can create cluster-scoped resources. |
| Install fails with a namespace error | The namespace exists with conflicting ownership | Drop `--create-namespace` or choose another namespace. |
Reading the controller logs
If something looks wrong, the controller log is the first place to look:
kubectl logs -n arc-systems deployment/arc-gha-rs-controllerThe Deployment name is derived from the release name, so it changes if you picked a name other than arc. Use kubectl get deployments -n arc-systems to find the exact name.
Exercise
You installed the controller and kubectl get pods -n arc-systems shows one Running pod and no listener pod. Is something broken?
Show answer
No. The controller alone does not create a listener. The listener pod is created for each runner scale set, so it appears only after you install a scale set in the next chapter.
Exercise
Why does the tutorial put the controller and the runners in different namespaces?
Show answer
Separate namespaces let you give the controller and the runners different access rules, quotas, and network policies. Runner pods run untrusted workflow code, so they should be isolated from the controller.