updated deployment
This commit is contained in:
parent
00e8188f47
commit
79537bfc38
1 changed files with 45 additions and 44 deletions
|
@ -19,56 +19,57 @@ metadata:
|
||||||
namespace: buildkite
|
namespace: buildkite
|
||||||
spec:
|
spec:
|
||||||
replicas: 4
|
replicas: 4
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 25%
|
||||||
|
maxUnavailable: 25%
|
||||||
|
type: RollingUpdate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: agent-premerge-debian
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: agent-premerge-debian
|
app: agent-premerge-debian
|
||||||
spec:
|
spec:
|
||||||
strategy:
|
|
||||||
rollingUpdate:
|
|
||||||
maxSurge: 25%
|
|
||||||
maxUnavailable: 25%
|
|
||||||
type: RollingUpdate
|
|
||||||
containers:
|
containers:
|
||||||
- name: buildkite-premerge-debian
|
- name: buildkite-premerge-debian
|
||||||
image: gcr.io/llvm-premerge-checks/buildkite-premerge-debian
|
image: gcr.io/llvm-premerge-checks/buildkite-premerge-debian
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 30
|
cpu: 30
|
||||||
memory: 45Gi
|
memory: 45Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 30
|
cpu: 30
|
||||||
memory: 45Gi
|
memory: 45Gi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ssd
|
- name: ssd
|
||||||
mountPath: /mnt/disks/ssd0
|
mountPath: /mnt/disks/ssd0
|
||||||
- name: github-ssh
|
- name: github-ssh
|
||||||
mountPath: /mnt/ssh
|
mountPath: /mnt/ssh
|
||||||
terminationMessagePath: /dev/termination-log
|
env:
|
||||||
terminationMessagePolicy: File
|
- name: BUILDKITE_AGENT_TOKEN
|
||||||
env:
|
valueFrom:
|
||||||
- name: BUILDKITE_AGENT_TOKEN
|
secretKeyRef:
|
||||||
valueFrom:
|
name: buildkite-agent-token
|
||||||
secretKeyRef:
|
key: token
|
||||||
name: buildkite-agent-token
|
- name: BUILDKITE_AGENT_TAGS
|
||||||
key: token
|
value: "queue=linux"
|
||||||
- name: BUILDKITE_AGENT_TAGS
|
- name: BUILDKITE_BUILD_PATH
|
||||||
value: "queue=linux"
|
value: "/mnt/disks/ssd0/agent"
|
||||||
- name: BUILDKITE_BUILD_PATH
|
- name: CONDUIT_TOKEN
|
||||||
value: "/mnt/disks/ssd0/agent"
|
valueFrom:
|
||||||
- name: CONDUIT_TOKEN
|
secretKeyRef:
|
||||||
valueFrom:
|
name: conduit-api-token
|
||||||
secretKeyRef:
|
key: token
|
||||||
name: conduit-api-token
|
|
||||||
key: token
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssd
|
- name: ssd
|
||||||
hostPath:
|
hostPath:
|
||||||
# directory location on host
|
# directory location on host
|
||||||
path: /mnt/disks/ssd0
|
path: /mnt/disks/ssd0
|
||||||
type: Directory
|
type: Directory
|
||||||
- name: github-ssh
|
- name: github-ssh
|
||||||
secret:
|
secret:
|
||||||
secretName: github-ssh
|
secretName: github-ssh
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
cloud.google.com/gke-nodepool: jenkins-agents
|
cloud.google.com/gke-nodepool: jenkins-agents
|
Loading…
Reference in a new issue