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