-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathlibcxx_runners_values.yaml
More file actions
47 lines (43 loc) · 1.45 KB
/
libcxx_runners_values.yaml
File metadata and controls
47 lines (43 loc) · 1.45 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
githubConfigUrl: "https://github.com/llvm"
githubConfigSecret: "github-token"
minRunners: 0
maxRunners: 32
runnerGroup: ${ runner_group_name }
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
spec:
tolerations:
- key: "premerge-platform-libcxx"
operator: "Equal"
value: "linux-libcxx"
effect: "NoSchedule"
nodeSelector:
premerge-platform-libcxx: linux-libcxx
containers:
- name: runner
image: ${ runner_image }
command: ["/home/runner/run.sh"]
resources:
# If we don't set the CPU request high-enough here, 2 runners might
# be scheduled on the same pod, meaning 2 jobs, and they will starve
# each other.
#
# This number should be:
# - greater than number_of_cores / 2:
# A value lower than that could allow the scheduler to put 2
# runners on the same node. Meaning 2 jobs sharing the resources of
# a single node.
# - lower than number_of_cores:
# Each pod has some basic services running (metrics for ex). Those
# already require some amount of CPU (~0.5). This means we don't
# exactly have N cores to allocate, but N - epsilon.
#
# We also need to request sufficient memory to not get OOM killed.
requests:
cpu: 28
memory: "100Gi"
limits:
cpu: 32
memory: "128Gi"