From 39f8c708b86234dc1647f80b718c5477f0c43bf0 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Wed, 17 Jul 2024 01:40:43 -0800 Subject: [PATCH] disable autoscaling for temporal --- Makefile | 5 ++++- flux/apps/base/temporal/release.yaml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f397917..70c2c31 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,10 @@ secrets: flux: ./scripts/flux-bootstrap.sh -cluster: echoenv kind namespaces secrets velero chisel flux +cluster: echoenv kind namespaces secrets velero chisel flux metrics + +metrics: + kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml echoenv: echo "[echoenv] Using ${ENV} environment. If this is not what you want, export ENV=development|staging|production" diff --git a/flux/apps/base/temporal/release.yaml b/flux/apps/base/temporal/release.yaml index 6a84b93..375775b 100644 --- a/flux/apps/base/temporal/release.yaml +++ b/flux/apps/base/temporal/release.yaml @@ -37,6 +37,20 @@ spec: cassandra: enabled: false server: + matching: + replicaCount: 1 + autoscaling: + enabled: false + worker: + replicaCount: 1 + autoscaling: + enabled: false + frontend: + replicaCount: 1 + history: + replicaCount: 1 + autoscaling: + enabled: false config: persistence: default: