From f433a82f1af4f574345f3bc142656e83da850969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Thu, 24 Oct 2019 09:17:37 -0700 Subject: [PATCH] updated config after benchmarks --- kubernetes/cluster_create.sh | 2 +- kubernetes/jenkins.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kubernetes/cluster_create.sh b/kubernetes/cluster_create.sh index 29bf399..e9f061b 100755 --- a/kubernetes/cluster_create.sh +++ b/kubernetes/cluster_create.sh @@ -34,7 +34,7 @@ gcloud container node-pools create services --cluster $GCP_CLUSTER --zone $GCP_Z # as per instructions # https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/local-ssd gcloud container node-pools create jenkins-agents --cluster $GCP_CLUSTER --zone $GCP_ZONE \ - --machine-type=n1-standard-16 --num-nodes=3 --local-ssd-count=1 + --machine-type=n1-standard-32 --num-nodes=2 --local-ssd-count=1 # create static IP address diff --git a/kubernetes/jenkins.yaml b/kubernetes/jenkins.yaml index d54b96a..9367d3f 100644 --- a/kubernetes/jenkins.yaml +++ b/kubernetes/jenkins.yaml @@ -154,7 +154,7 @@ metadata: name: agent-debian-testing-clang8-ssd namespace: jenkins spec: - replicas: 3 + replicas: 2 template: metadata: labels: @@ -167,10 +167,10 @@ spec: - containerPort: 22 resources: limits: - cpu: 15 + cpu: 30 memory: 45Gi requests: - cpu: 15 + cpu: 30 memory: 45Gi volumeMounts: - name: nfs-pvc