forked from thegreatestgiant/novnc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
actions-runner-controller-runner-deployment-ese.yml
57 lines (57 loc) · 1.29 KB
/
actions-runner-controller-runner-deployment-ese.yml
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
apiVersion: v1
kind: Namespace
metadata:
labels:
environment: ese
name: github-actions-runner-ese
---
apiVersion: actions.summerwind.dev/v1alpha1
kind: HorizontalRunnerAutoscaler
metadata:
labels:
environment: ese
name: actions-runner-autoscaler-ese
namespace: github-actions-runner-ese
spec:
maxReplicas: 16
metrics:
- scaleDownFactor: "0.5"
scaleDownThreshold: "0.2"
scaleUpFactor: "2"
scaleUpThreshold: "0.5"
type: PercentageRunnersBusy
minReplicas: 4
scaleDownDelaySecondsAfterScaleOut: 300
scaleTargetRef:
name: actions-runner-deployment-ese
---
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
labels:
environment: ese
name: actions-runner-deployment-ese
namespace: github-actions-runner-ese
spec:
template:
spec:
dockerEnabled: false
group: raspberry
image: ghcr.io/jonico/actions-runner:ese
labels:
- ese
- kubernetes
- custom-runner
repository: jonico/visualize-actions-matrix-builds-on-k8s
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 50m
memory: 128Mi
tolerations:
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 10