From 721cdbd6189b84216f89d57fa1daee11abcc2c4f Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Sat, 26 Sep 2026 20:51:45 +0300 Subject: [PATCH] tf: use /_ready healthcheck endpoint for bobbin to enable proper rolling updates Signed-off-by: dawn --- terraform/modules/cloud-run-app/main.tf | 2 +- terraform/modules/environment/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/cloud-run-app/main.tf b/terraform/modules/cloud-run-app/main.tf index f2f4435..a4d1fed 100644 --- a/terraform/modules/cloud-run-app/main.tf +++ b/terraform/modules/cloud-run-app/main.tf @@ -71,7 +71,7 @@ resource "google_cloud_run_v2_service" "this" { } period_seconds = 5 timeout_seconds = 3 - failure_threshold = 24 + failure_threshold = 120 } } } diff --git a/terraform/modules/environment/main.tf b/terraform/modules/environment/main.tf index fa90100..6ede2ec 100644 --- a/terraform/modules/environment/main.tf +++ b/terraform/modules/environment/main.tf @@ -12,7 +12,7 @@ locals { image = "${local.registry}/${local.bobbin_name}${var.env.services.bobbin.image}" sa = google_service_account.bobbin.email invokers = ["serviceAccount:${google_service_account.svfe.email}"] - probe = "/xrpc/sh.tangled.bobbin.getCoverage" + probe = "/_ready" cpu = "2" memory = "2Gi" min = 1 -- 2.51.2