From 0d612afae77e2602cd5251babe971b801877c424 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Thu, 23 May 2024 17:04:54 -0700 Subject: [PATCH] Add google cloud run minScale annotation. --- run-service-prod.yaml | 2 ++ run-service-staging.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/run-service-prod.yaml b/run-service-prod.yaml index 878ea7c..a861959 100644 --- a/run-service-prod.yaml +++ b/run-service-prod.yaml @@ -4,6 +4,8 @@ apiVersion: serving.knative.dev/v1 kind: Service metadata: name: prod-comfy-backend + annotations: + run.googleapis.com/minScale: '1' spec: template: metadata: diff --git a/run-service-staging.yaml b/run-service-staging.yaml index a882731..cb6e363 100644 --- a/run-service-staging.yaml +++ b/run-service-staging.yaml @@ -4,6 +4,8 @@ apiVersion: serving.knative.dev/v1 kind: Service metadata: name: staging-comfy-backend + annotations: + run.googleapis.com/minScale: '1' spec: template: metadata: