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

Install ARC with Helm: what are the commands?

AdvancedConceptCaching, Artifacts, Runners & ARC
Answer
helm install arc \
  --namespace arc-systems --create-namespace \
  oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller

kubectl create secret generic gh-app -n arc-runners \
  --from-literal=github_app_id=123456 \
  --from-literal=github_app_installation_id=7890123 \
  --from-file=github_app_private_key=app.pem

helm install arc-linux \
  --namespace arc-runners --create-namespace \
  --set githubConfigUrl="https://github.com/devopsshack" \
  --set githubConfigSecret=gh-app \
  --set minRunners=1 --set maxRunners=20 \
  oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set

Workflows then use runs-on: arc-linux. Prefer GitHub App authentication over a PAT. Pin chart versions (--version) and keep controller and scale set versions equal.

All GitHub Actions questions Roadmap: GitHub Actions

More on Caching, Artifacts, Runners & ARC