Skip to content

Commit

Permalink
scale ci workers and pr-workers
Browse files Browse the repository at this point in the history
#16

Signed-off-by: Rui Yang <[email protected]>
  • Loading branch information
Rui Yang committed Jun 16, 2022
1 parent b257ae3 commit f2f4b9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion terraform/environments/production/ci-pr-values.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ worker:
timeoutSeconds: 45
hardAntiAffinity: true
resources:
limits: { cpu: 7500m, memory: 14Gi }
limits: { cpu: 3500m, memory: 29Gi }
requests: { cpu: 0m, memory: 0Gi }

concourse:
Expand Down
4 changes: 2 additions & 2 deletions terraform/environments/production/ci-workers-values.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ persistence:
size: 750Gi

worker:
replicas: 8
replicas: 4
nodeSelector:
cloud.google.com/gke-nodepool: ci-workers
annotations:
Expand All @@ -28,7 +28,7 @@ worker:
timeoutSeconds: 45
hardAntiAffinity: true
resources:
limits: { cpu: 7500m, memory: 14Gi }
limits: { cpu: 7500m, memory: 29Gi }
requests: { cpu: 0m, memory: 0Gi }

concourse:
Expand Down
4 changes: 2 additions & 2 deletions terraform/environments/production/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module "cluster" {
disk_type = "pd-ssd"
image = "Ubuntu"
local_ssds = 0
machine_type = "e2-standard-4"
machine_type = "e2-standard-8"
max = 10
min = 1
preemptible = false
Expand All @@ -47,7 +47,7 @@ module "cluster" {
disk_type = "pd-ssd"
image = "Ubuntu"
local_ssds = 0
machine_type = "e2-standard-4"
machine_type = "e2-highmem-4"
max = 5
min = 1
preemptible = false
Expand Down

0 comments on commit f2f4b9c

Please sign in to comment.