linux builders
This commit is contained in:
parent
96e3f866ae
commit
e1a4fda524
2 changed files with 12 additions and 12 deletions
|
@ -15,10 +15,10 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: linux-test-56
|
name: linux-56
|
||||||
namespace: buildkite
|
namespace: buildkite
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 3
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxUnavailable: 1
|
maxUnavailable: 1
|
||||||
|
@ -26,11 +26,11 @@ spec:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: linux-test-56
|
app: linux-56
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: linux-test-56
|
app: linux-56
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
|
@ -58,7 +58,7 @@ spec:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: BUILDKITE_AGENT_TAGS
|
- 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
|
- name: BUILDKITE_BUILD_PATH
|
||||||
value: "/var/lib/buildkite-agent/builds"
|
value: "/var/lib/buildkite-agent/builds"
|
||||||
- name: CONDUIT_TOKEN
|
- name: CONDUIT_TOKEN
|
||||||
|
|
|
@ -18,7 +18,7 @@ metadata:
|
||||||
name: linux
|
name: linux
|
||||||
namespace: buildkite
|
namespace: buildkite
|
||||||
spec:
|
spec:
|
||||||
replicas: 3
|
replicas: 2
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxUnavailable: 1
|
maxUnavailable: 1
|
||||||
|
@ -37,11 +37,11 @@ spec:
|
||||||
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
|
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 55
|
cpu: 30
|
||||||
memory: 200Gi
|
memory: 80Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 55
|
cpu: 30
|
||||||
memory: 200Gi
|
memory: 80Gi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: github-ssh
|
- name: github-ssh
|
||||||
mountPath: /mnt/ssh
|
mountPath: /mnt/ssh
|
||||||
|
@ -58,7 +58,7 @@ spec:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: BUILDKITE_AGENT_TAGS
|
- 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
|
- name: BUILDKITE_BUILD_PATH
|
||||||
value: "/var/lib/buildkite-agent/builds"
|
value: "/var/lib/buildkite-agent/builds"
|
||||||
- name: CONDUIT_TOKEN
|
- name: CONDUIT_TOKEN
|
||||||
|
@ -78,5 +78,5 @@ spec:
|
||||||
- name: workdir
|
- name: workdir
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
cloud.google.com/gke-nodepool: linux-56
|
cloud.google.com/gke-nodepool: linux-agents-2
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
Loading…
Reference in a new issue