From 0f29c991dd798d35a337f99ad2b827e7669a5967 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Tue, 3 Dec 2024 14:46:42 +0100 Subject: [PATCH] Evaluate paused scaledobject behavior if paused --- charts/streams-app/templates/deployment.yaml | 2 ++ charts/streams-app/values.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/streams-app/templates/deployment.yaml b/charts/streams-app/templates/deployment.yaml index 781ee057..e1452eb5 100644 --- a/charts/streams-app/templates/deployment.yaml +++ b/charts/streams-app/templates/deployment.yaml @@ -28,7 +28,9 @@ spec: serviceName: {{ template "streams-app.name" . }} podManagementPolicy: Parallel {{- end }} + {{- if .Values.replicaCount }} replicas: {{ .Values.replicaCount }} + {{- end }} selector: matchLabels: app: {{ template "streams-app.name" . }} diff --git a/charts/streams-app/values.yaml b/charts/streams-app/values.yaml index d84eaf5c..aa477b5a 100644 --- a/charts/streams-app/values.yaml +++ b/charts/streams-app/values.yaml @@ -1,6 +1,6 @@ nameOverride: bakdata-streams-app -replicaCount: 1 +# replicaCount: 1 image: streamsApp imageTag: latest