From 63f3673d3a65e6094f5322b1b3fecc9881a97ca7 Mon Sep 17 00:00:00 2001 From: Mitch Date: Mon, 3 Feb 2025 03:37:13 -0500 Subject: [PATCH] chore: turn off auto-upgrade in node-pools --- spartan/terraform/gke-cluster/cluster/main.tf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/spartan/terraform/gke-cluster/cluster/main.tf b/spartan/terraform/gke-cluster/cluster/main.tf index 881c82290fa4..18603f3ab4c9 100644 --- a/spartan/terraform/gke-cluster/cluster/main.tf +++ b/spartan/terraform/gke-cluster/cluster/main.tf @@ -60,6 +60,11 @@ resource "google_container_node_pool" "aztec_nodes_2core_ssd" { } tags = ["aztec-gke-node", "aztec"] } + + management { + auto_repair = true + auto_upgrade = false + } } # Create 2 core node pool no ssd @@ -94,7 +99,7 @@ resource "google_container_node_pool" "aztec_nodes-2core" { # Management configuration management { auto_repair = true - auto_upgrade = true + auto_upgrade = false } } @@ -130,7 +135,7 @@ resource "google_container_node_pool" "aztec_non_network_nodes" { # Management configuration management { auto_repair = true - auto_upgrade = true + auto_upgrade = false } } @@ -175,7 +180,7 @@ resource "google_container_node_pool" "spot_nodes_32core" { # Management configuration management { auto_repair = true - auto_upgrade = true + auto_upgrade = false } } @@ -220,7 +225,7 @@ resource "google_container_node_pool" "spot_nodes_8core" { # Management configuration management { auto_repair = true - auto_upgrade = true + auto_upgrade = false } } @@ -265,6 +270,6 @@ resource "google_container_node_pool" "spot_nodes_2core" { # Management configuration management { auto_repair = true - auto_upgrade = true + auto_upgrade = false } }