Skip to content

Commit

Permalink
chore: turn off auto-upgrade in node-pools (#11679)
Browse files Browse the repository at this point in the history
Prevent k8s from upgrading our nodes.
  • Loading branch information
just-mitch authored Feb 3, 2025
1 parent a720151 commit 09f98a9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions spartan/terraform/gke-cluster/cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -94,7 +99,7 @@ resource "google_container_node_pool" "aztec_nodes-2core" {
# Management configuration
management {
auto_repair = true
auto_upgrade = true
auto_upgrade = false
}
}

Expand Down Expand Up @@ -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
}
}

Expand Down Expand Up @@ -175,7 +180,7 @@ resource "google_container_node_pool" "spot_nodes_32core" {
# Management configuration
management {
auto_repair = true
auto_upgrade = true
auto_upgrade = false
}
}

Expand Down Expand Up @@ -220,7 +225,7 @@ resource "google_container_node_pool" "spot_nodes_8core" {
# Management configuration
management {
auto_repair = true
auto_upgrade = true
auto_upgrade = false
}
}

Expand Down Expand Up @@ -265,6 +270,6 @@ resource "google_container_node_pool" "spot_nodes_2core" {
# Management configuration
management {
auto_repair = true
auto_upgrade = true
auto_upgrade = false
}
}

0 comments on commit 09f98a9

Please sign in to comment.