File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717jobs :
1818 deploy :
19- runs-on : ubuntu-24.04
19+ runs-on : [self-hosted, linux, upcloud-csi]
2020 steps :
2121 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2222
Original file line number Diff line number Diff line change 1+ ---
2+ # GitHub Actions Runner Controller — Runner Scale Set configuration
3+ #
4+ # Prerequisites:
5+ # 1. Install the controller (one-time per cluster):
6+ # helm upgrade --install arc \
7+ # oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
8+ # --namespace arc-system --create-namespace
9+ #
10+ # 2. Install the runner scale set (per repository):
11+ # helm upgrade --install upcloud-csi-runner \
12+ # oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
13+ # --namespace arc-runners --create-namespace \
14+ # --values deploy/github-runner/values.yaml \
15+ # --set githubConfigSecret.github_token=$GITHUB_PAT
16+ #
17+ # Requires a PAT with repo scope, or a GitHub App installation.
18+ # See: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller
19+
20+ # Repository-level runner (change to org-level URL if preferred)
21+ githubConfigUrl : " https://github.com/upcloud-tools/upcloud-csi"
22+
23+ # Runner labels for workflow targeting
24+ scaleSetLabels :
25+ - self-hosted
26+ - linux
27+ - upcloud-csi
28+
29+ # Authentication via GitHub PAT (alternative: GitHub App)
30+ # githubConfigSecret:
31+ # github_token: ""
32+
33+ # Reference the controller service account explicitly to avoid discovery issues
34+ controllerServiceAccount :
35+ namespace : arc-system
36+ name : arc-gha-rs-controller
37+
38+ # Autoscaling limits
39+ maxRunners : 10
40+ minRunners : 1
41+
42+ # Runner pod configuration
43+ template :
44+ spec :
45+ containers :
46+ - name : runner
47+ image : ghcr.io/actions/actions-runner:latest
48+ command : ["/home/runner/run.sh"]
49+ resources :
50+ requests :
51+ cpu : " 1"
52+ memory : " 2Gi"
53+ limits :
54+ memory : " 4Gi"
You can’t perform that action at this time.
0 commit comments