-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
62 lines (55 loc) · 1.77 KB
/
Copy pathvalues.yaml
File metadata and controls
62 lines (55 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
# GitHub Actions Runner Controller — Runner Scale Set configuration
#
# Prerequisites:
# 1. Install the controller (one-time per cluster):
# helm upgrade --install arc \
# oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller \
# --namespace arc-system --create-namespace
#
# 2. Install the runner scale set (per repository):
# helm upgrade --install upcloud-runner \
# oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set \
# --namespace arc-runners --create-namespace \
# --values values.yaml
#
# Requires a PAT with repo scope, or a GitHub App installation.
# See: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller
# Repository-level runner (change to org-level URL if preferred)
githubConfigUrl: https://github.com/upcloud-tools
# Runner labels for workflow targeting
scaleSetLabels:
- self-hosted
- linux
- upcloud
githubConfigSecret: app-secret
# Reference the controller service account explicitly to avoid discovery issues
controllerServiceAccount:
namespace: arc-system
name: arc-gha-rs-controller
containerMode:
type: kubernetes-novolume
# Autoscaling limits
maxRunners: 50
minRunners: 0
# Runner pod configuration
template:
spec:
containers:
- name: runner
image: ghcr.io/actions/actions-runner:latest
imagePullPolicy: IfNotPresent
command: ["/home/runner/run.sh"]
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
memory: "8Gi"
nodeSelector:
gh-runner: "yes"
tolerations:
- key: gh-runner
operator: Equal
value: "yes"
effect: NoSchedule