Interview Prep/GitHub Actions/Caching, Artifacts, Runners & ARC

How does ARC scale to zero, and what is the trade-off?

IntermediateConceptCaching, Artifacts, Runners & ARC
Answer

With minRunners: 0, the listener keeps no idle runner pods; when a job is queued, it scales up, and the new pod must be scheduled, pull the runner image, and register before the job starts. If the node pool also scales to zero, add node provisioning time (Karpenter or Cluster Autoscaler, often 60 to 120 seconds). Trade-off: zero idle cost vs cold-start latency. Common compromise: minRunners: 1 to 2 during business hours, larger and pre-pulled runner images, and a warm node.

All GitHub Actions questions Roadmap: GitHub Actions

More on Caching, Artifacts, Runners & ARC