File tree 1 file changed +45
-0
lines changed
infra/gcp/terraform/k8s-infra-prow-build
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,51 @@ module "prow_build_nodepool_n1_highmem_8_localssd" {
105
105
service_account = module. prow_build_cluster . cluster_node_sa . email
106
106
}
107
107
108
+ module "sig_testing_node_pool_1_c4_highmem_8" {
109
+
110
+ source = " github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gke-nodepool?ref=v39.0.0&depth=1"
111
+ project_id = module. project . project_id
112
+ name = " sig-testing-pool1"
113
+ location = module. prow_build_cluster . cluster . location
114
+ cluster_name = module. prow_build_cluster . cluster . name
115
+
116
+ service_account = {
117
+ email = module.prow_build_cluster.cluster_node_sa.email
118
+ oauth_scopes = [" https://www.googleapis.com/auth/cloud-platform" ]
119
+ }
120
+ node_locations = [
121
+ " us-central1-b" ,
122
+ " us-central1-c" ,
123
+ " us-central1-f" ,
124
+ ]
125
+
126
+ nodepool_config = {
127
+ autoscaling = {
128
+ max_node_count = 30
129
+ min_node_count = 1 # 1 per zone
130
+ }
131
+ management = {
132
+ auto_repair = true
133
+ auto_upgrade = true
134
+ }
135
+ }
136
+
137
+ node_config = {
138
+ machine_type = " c4-highmem-8"
139
+ disk_size_gb = 500
140
+ disk_type = " hyperdisk-balanced"
141
+ image_type = " COS_CONTAINERD"
142
+ gvnic = true
143
+ workload_metadata_config_mode = " GKE_METADATA"
144
+ shielded_instance_config = {
145
+ enable_secure_boot = true
146
+ }
147
+ }
148
+
149
+
150
+ taints = { dedicated = { value = " sig-testing" , effect = " NO_SCHEDULE" } }
151
+ }
152
+
108
153
module "prow_build_nodepool_c4_highmem_8_localssd" {
109
154
source = " ../modules/gke-nodepool"
110
155
project_name = module. project . project_id
You can’t perform that action at this time.
0 commit comments