From 15e019ee36e8dc261758b32cf0543ce7233f2d1b Mon Sep 17 00:00:00 2001 From: ensonic Date: Tue, 24 Mar 2026 08:03:25 +0000 Subject: [PATCH] Enable vertical-pod-autoscaling also on the main cluster. We already enable it on the "-ar" clusters and this feature will be required to better manage prometheus workloads. Tested on my personal project and verified that config change is applied in-place. --- src/bootstrap/cloud/terraform/cluster.tf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/bootstrap/cloud/terraform/cluster.tf b/src/bootstrap/cloud/terraform/cluster.tf index 48b4f7b7..cac57cf8 100644 --- a/src/bootstrap/cloud/terraform/cluster.tf +++ b/src/bootstrap/cloud/terraform/cluster.tf @@ -37,10 +37,13 @@ resource "google_container_cluster" "cloud-robotics" { enabled = true } } + gateway_api_config { channel = "CHANNEL_STANDARD" } + ip_allocation_policy {} + maintenance_policy { recurring_window { # Dates specifies first ocurance, times are in UTC @@ -51,17 +54,25 @@ resource "google_container_cluster" "cloud-robotics" { recurrence = "FREQ=WEEKLY;BYDAY=SA" } } + release_channel { channel = "STABLE" } + secret_manager_config { enabled = var.secret_manager_plugin } + timeouts { create = "1h" update = "1h" delete = "1h" } + + vertical_pod_autoscaling { + enabled = true + } + workload_identity_config { workload_pool = "${data.google_project.project.project_id}.svc.id.goog" }