diff --git a/gcloud_config.sh b/gcloud_config.sh new file mode 100755 index 0000000..98c35c4 --- /dev/null +++ b/gcloud_config.sh @@ -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 + diff --git a/kubernetes/buildkite/linux-agents.yaml b/kubernetes/buildkite/linux-agents.yaml index 2e3ef72..a461fcd 100644 --- a/kubernetes/buildkite/linux-agents.yaml +++ b/kubernetes/buildkite/linux-agents.yaml @@ -18,7 +18,7 @@ metadata: name: linux-agents namespace: buildkite spec: - replicas: 5 + replicas: 0 strategy: rollingUpdate: maxSurge: 25%