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.
More on Caching, Artifacts, Runners & ARC
How does `actions/cache` match keys and restore keys?IntermediateWhich caches can a branch restore from?AdvancedWhat are the cache size limits and eviction rules?BeginnerWhen should you use setup-* built-in caching instead of `actions/cache`?BeginnerWhy cache the package manager's download cache rather than `node_modules`?AdvancedHow do `actions/cache/restore` and `actions/cache/save` help?Advanced