1
0
Fork 0

linux builders

This commit is contained in:
Mikhail Goncharov 2023-09-01 16:54:16 +02:00
parent 96e3f866ae
commit e1a4fda524
2 changed files with 12 additions and 12 deletions

View file

@ -15,10 +15,10 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: linux-test-56
name: linux-56
namespace: buildkite
spec:
replicas: 1
replicas: 3
strategy:
rollingUpdate:
maxUnavailable: 1
@ -26,11 +26,11 @@ spec:
type: RollingUpdate
selector:
matchLabels:
app: linux-test-56
app: linux-56
template:
metadata:
labels:
app: linux-test-56
app: linux-56
spec:
containers:
- name: runner
@ -58,7 +58,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS
value: "queue=linux-test-56,name=$(POD_NAME),cluster=google"
value: "queue=linux,name=$(POD_NAME),cluster=google,node-pool=linux-56"
- name: BUILDKITE_BUILD_PATH
value: "/var/lib/buildkite-agent/builds"
- name: CONDUIT_TOKEN

View file

@ -18,7 +18,7 @@ metadata:
name: linux
namespace: buildkite
spec:
replicas: 3
replicas: 2
strategy:
rollingUpdate:
maxUnavailable: 1
@ -37,11 +37,11 @@ spec:
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
resources:
limits:
cpu: 55
memory: 200Gi
cpu: 30
memory: 80Gi
requests:
cpu: 55
memory: 200Gi
cpu: 30
memory: 80Gi
volumeMounts:
- name: github-ssh
mountPath: /mnt/ssh
@ -58,7 +58,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS
value: "queue=linux,name=$(POD_NAME),cluster=google"
value: "queue=linux,name=$(POD_NAME),cluster=google,node-pool=linux-agents-2"
- name: BUILDKITE_BUILD_PATH
value: "/var/lib/buildkite-agent/builds"
- name: CONDUIT_TOKEN
@ -78,5 +78,5 @@ spec:
- name: workdir
emptyDir: {}
nodeSelector:
cloud.google.com/gke-nodepool: linux-56
cloud.google.com/gke-nodepool: linux-agents-2
terminationGracePeriodSeconds: 30