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