features: revisionHistoryLimit and taskiq specific resources specification
This commit is contained in:
@ -8,6 +8,7 @@ metadata:
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | default 5 }}
|
||||
{{- end }}
|
||||
{{- with .Values.updateStrategy }}
|
||||
strategy:
|
||||
@ -53,6 +54,9 @@ spec:
|
||||
startupProbe: {{ . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- include "py-app.envs" . | indent 10 -}}
|
||||
{{- with .Values.securityContext }}
|
||||
securityContext: {{ . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
|
||||
|
@ -33,5 +33,5 @@ spec:
|
||||
command: {{ .Values.taskiq.schedulerCmd | toYaml | nindent 10 }}
|
||||
{{- include "py-app.envs" . | indent 10 -}}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- toYaml .Values.taskiq.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
|
@ -39,5 +39,5 @@ spec:
|
||||
command: {{ .Values.taskiq.workerCmd | toYaml | nindent 10 }}
|
||||
{{- include "py-app.envs" . | indent 10 -}}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- toYaml .Values.taskiq.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
|
@ -30,6 +30,7 @@ ttlSecondsAfterFinished: 3600
|
||||
taskiq:
|
||||
workerCmd: []
|
||||
schedulerCmd: []
|
||||
resources: {}
|
||||
workers: 1
|
||||
autoscaling:
|
||||
enabled: false
|
||||
|
Reference in New Issue
Block a user