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 →
- 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). - Each in its own namespace with ResourceQuotas and requests and limits in the pod template.
- Karpenter NodePools per class, spot for linux and docker, on-demand for GPU.
- Runner groups restrict GPU to ML repos.
- 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.
More on Runners, ARC, Monorepos & Releases
You must build on runners that can reach an internal Artifactory. Design the runner setup.AdvancedPersistent self-hosted runners keep failing because a previous job left files and Docker images. Fix the root cause.BeginnerYou need to upgrade ARC across 10 clusters with zero dropped jobs. Plan it.AdvancedA monorepo has 30 services; every PR builds all of them. Redesign.AdvancedA monorepo deploys each service independently with its own version. How do you trigger and version releases?AdvancedDesign a release workflow for a CLI tool that publishes binaries for Linux, macOS and Windows.Intermediate