Skip to content

Commit fe193b8

Browse files
authored
Merge pull request #7241 from borg-land/arm64-disk-bump
fix disk size for arm nodepools
2 parents bb70ae2 + 6b72dbb commit fe193b8

File tree

2 files changed

+5
-3
lines changed
  • infra/gcp/terraform

2 files changed

+5
-3
lines changed

infra/gcp/terraform/k8s-infra-prow-build/main.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,16 @@ module "prow_build_nodepool_t2a_standard_8" {
111111
cluster_name = module.prow_build_cluster.cluster.name
112112
location = module.prow_build_cluster.cluster.location
113113
node_locations = [
114-
"us-central1-a"
114+
"us-central1-a",
115+
"us-central1-b",
115116
]
116-
name = "pool5-arm64"
117+
name = "pool6-arm64"
117118
initial_count = 1
118119
min_count = 1
119120
max_count = 10
120121
image_type = "UBUNTU_CONTAINERD"
121122
machine_type = "t2a-standard-8"
122-
disk_size_gb = 150
123+
disk_size_gb = 500
123124
disk_type = "pd-ssd"
124125
// GKE automatically taints arm64 nodes
125126
// https://cloud.google.com/kubernetes-engine/docs/how-to/prepare-arm-workloads-for-deployment#overview

infra/gcp/terraform/modules/gke-nodepool/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ resource "google_container_node_pool" "node_pool" {
3737
min_node_count = var.min_count
3838
max_node_count = var.max_count
3939
}
40+
node_locations = var.node_locations
4041

4142
// Set machine type, and enable all oauth scopes tied to the service account
4243
node_config {

0 commit comments

Comments
 (0)