Interview Prep/GitHub Actions/Runners, ARC, Monorepos & Releases

Design ARC for a company with Linux build jobs, Docker image builds, and GPU tests.

AdvancedScenarioRunners, ARC, Monorepos & Releases
Answer

Situation read → Different workloads need different scale sets.

What I'd do →

  1. One controller, three scale sets: arc-linux (default mode, small CPU), arc-docker (dind mode on a tainted node pool), arc-gpu (nodeSelector for GPU nodes, minRunners: 0).
  2. Each in its own namespace with ResourceQuotas and requests and limits in the pod template.
  3. Karpenter NodePools per class, spot for linux and docker, on-demand for GPU.
  4. Runner groups restrict GPU to ML repos.
  5. Pin chart versions, monitor listener metrics (listenerMetrics) with Prometheus.

Why → Separate scale sets isolate privilege (dind) and cost (GPU) and scale independently.

Interview tip → Mention that runs-on equals the scale set name.

All GitHub Actions questions Roadmap: GitHub Actions

More on Runners, ARC, Monorepos & Releases