scale down linux agents as we run them on LLVM cluster
This commit is contained in:
parent
ba66080689
commit
b595d573bc
2 changed files with 8 additions and 1 deletions
7
gcloud_config.sh
Executable file
7
gcloud_config.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -uo pipefail
|
||||||
|
gcloud config set project ${GCP_PROJECT}
|
||||||
|
gcloud config set compute/zone ${GCP_ZONE}
|
||||||
|
gcloud auth configure-docker
|
||||||
|
gcloud container clusters get-credentials $GCP_CLUSTER
|
||||||
|
|
|
@ -18,7 +18,7 @@ metadata:
|
||||||
name: linux-agents
|
name: linux-agents
|
||||||
namespace: buildkite
|
namespace: buildkite
|
||||||
spec:
|
spec:
|
||||||
replicas: 5
|
replicas: 0
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 25%
|
maxSurge: 25%
|
||||||
|
|
Loading…
Reference in a new issue