Skip to content

Commit

Permalink
cahange Scheduler deployment strategy to Recreate and remove schedule…
Browse files Browse the repository at this point in the history
…r.replicaCount
  • Loading branch information
nikitka authored and grugnog committed Jun 13, 2023
1 parent aa903d6 commit 0d35e3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion templates/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 0 additions & 3 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0d35e3a

Please sign in to comment.