File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
infra/gcp/terraform/k8s-infra-prow-build Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,46 @@ module "prow_build_nodepool_c4_highmem_8_localssd" {
126126 taints = [{ key = " dedicated" , value = " sig-testing" , effect = " NO_SCHEDULE" }]
127127}
128128
129+
130+ module "sig_node_node_pool_1_n4_highmem_8" {
131+
132+ source = " github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gke-nodepool?ref=v39.0.0&depth=1"
133+ project_id = module. project . project_id
134+ name = " sig-node-pool1"
135+ location = module. prow_build_cluster . cluster . location
136+ cluster_name = module. prow_build_cluster . cluster . name
137+
138+ service_account = {
139+ email = module.prow_build_cluster.cluster_node_sa.email
140+ oauth_scopes = [" https://www.googleapis.com/auth/cloud-platform" ]
141+ }
142+
143+ nodepool_config = {
144+ autoscaling = {
145+ max_node_count = 10
146+ min_node_count = 1 # 1 per zone
147+ }
148+ management = {
149+ auto_repair = true
150+ auto_upgrade = true
151+ }
152+ }
153+
154+ node_config = {
155+ machine_type = " n4-highmem-8"
156+ disk_type = " hyperdisk-balanced"
157+ image_type = " COS_CONTAINERD"
158+ gvnic = true
159+ workload_metadata_config_mode = " GKE_METADATA"
160+ shielded_instance_config = {
161+ enable_secure_boot = true
162+ }
163+ }
164+
165+
166+ taints = { dedicated = { value = " sig-node" , effect = " NO_SCHEDULE" } }
167+ }
168+
129169module "prow_build_nodepool_t2a_standard_8" {
130170 source = " ../modules/gke-nodepool"
131171 project_name = module. project . project_id
You can’t perform that action at this time.
0 commit comments