From 0d35e3a9f026a6a590ac182c3b70b7e79d75a0cb Mon Sep 17 00:00:00 2001 From: Nikita Kozlovsky Date: Tue, 23 Aug 2022 11:51:50 +0300 Subject: [PATCH] cahange Scheduler deployment strategy to Recreate and remove scheduler.replicaCount --- templates/scheduler-deployment.yaml | 4 +++- values.yaml | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/scheduler-deployment.yaml b/templates/scheduler-deployment.yaml index 6ddc408..f222586 100644 --- a/templates/scheduler-deployment.yaml +++ b/templates/scheduler-deployment.yaml @@ -6,7 +6,9 @@ metadata: {{- include "redash.labels" . | nindent 4 }} app.kubernetes.io/component: scheduler spec: - replicas: {{ .Values.scheduler.replicaCount }} + replicas: 1 + strategy: + type: Recreate selector: matchLabels: {{- include "redash.selectorLabels" . | nindent 6 }} diff --git a/values.yaml b/values.yaml index 4575a4d..c190602 100644 --- a/values.yaml +++ b/values.yaml @@ -458,9 +458,6 @@ scheduler: # scheduler.env -- Redash scheduler specific environment variables. env: {} - # scheduler.replicaCount -- Number of scheduler pods to run - replicaCount: 1 - # scheduler.resources -- scheduler resource requests and limits [ref](http://kubernetes.io/docs/user-guide/compute-resources/) resources: # limits: