Skip to content

CICD-210 · Autoscaling runners ​

Encyclopedia · Runner administration and execution infrastructure · All snippets

Previous · CICD-209 · Next · CICD-211

1. Where it fits ​

  • Placement arc-runner-values.yaml fragment.
  • Prerequisites lab host, trusted repositories, installed act_runner or GitHub runner when named.
  • Platforms local-lab.

2. Copy the snippet ​

yaml
minRunners: 1
maxRunners: 6

3. How it works ​

minRunners sets warm capacity and maxRunners limits provisioning. Queue a representative batch and distinguish warm idle workers from job capacity.

Queue demand changes runner count within the configured bounds.

flowchart TD
  N1["Queued workflow jobs"]
  N2["ARC listener"]
  N1 --> N2
  N3["Min and max runner settings"]
  N3 --> N2
  N4["Provision runner Pods"]
  N2 --> N4
  N5["Execute eligible jobs"]
  N4 --> N5

4. Verify the result ​

Merge into an ARC runner scale set values file. Queue eight trusted jobs and verify the listener provisions at most six runners.

Validation version-dependent (YAML parse). Status definitions.