File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ resource "google_container_node_pool" "llvm_premerge_linux_service" {
2323
2424 node_config {
2525 machine_type = " e2-highcpu-4"
26+ # Terraform wants to recreate the node pool everytime whe running
27+ # terraform apply unless we explicitly set this.
28+ # TODO(boomanaiden154): Look into why terraform is doing this so we do
29+ # not need this hack.
30+ resource_labels = {
31+ " goog-gke-node-pool-provisioning-model" = " on-demand"
32+ }
2633 }
2734}
2835
@@ -89,5 +96,12 @@ resource "google_container_node_pool" "llvm_premerge_windows" {
8996 " disable-legacy-endpoints" = " true"
9097 }
9198 disk_size_gb = 200
99+ # Terraform wants to recreate the node pool everytime whe running
100+ # terraform apply unless we explicitly set this.
101+ # TODO(boomanaiden154): Look into why terraform is doing this so we do
102+ # not need this hack.
103+ resource_labels = {
104+ " goog-gke-node-pool-provisioning-model" = " on-demand"
105+ }
92106 }
93107}
You can’t perform that action at this time.
0 commit comments