-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.md.gotmpl
75 lines (53 loc) · 1.46 KB
/
README.md.gotmpl
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
63
64
65
66
67
68
69
70
71
72
73
74
75
{{ template "chart.header" . }}
{{ template "chart.deprecationWarning" . }}
{{ template "chart.badgesSection" . }}
{{ template "chart.description" . }}
Github Actions runners with:
- docker as sidecar for running docker-in-docker
- docker registry to cache images between builds
- oci mirror to pull images and avoid hitting rate limits
- http proxy to reduce external traffic
{{ template "chart.homepageLine" . }}
{{ template "chart.maintainersSection" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
Before starting, you need to deploy the controller:
```bash
helm upgrade -i arc oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller
```
Then, you can deploy the runner using the following values:
```yaml
# helm values
maxRunners: 8
minRunners: 1
githubConfigUrl: https://github.com/...
githubConfigSecret:
github_app_id: "123"
github_app_installation_id: "123"
github_app_private_key: |
KEY
controllerServiceAccount:
name: arc
envs:
BUILDKIT_PROGRESS: plain
DOCKER_BUILDKIT: "1"
persistence:
enabled: true
storageClass: local-path
size: 16Gi
mirrors:
persistence:
enabled: true
storageClass: local-path
size: 150Gi
registry:
persistence:
enabled: true
storageClass: local-path
size: 200Gi
nodeSelector:
node-role.kubernetes.io/builder: ""
nodeSelector:
node-role.kubernetes.io/builder: ""
```
{{ template "chart.valuesSection" . }}