fix(deploy): use Recreate strategy to fit tenant CPU quota

Single-replica deployment with tight CPU quota (1 core) cannot run two
pods simultaneously during a rolling update. Recreate kills the old pod
before starting the new one.
This commit is contained in:
2026-02-22 12:01:50 +01:00
parent 3236318e72
commit 8b478a11b8

View File

@@ -9,6 +9,8 @@ spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
strategy:
type: Recreate
selector:
matchLabels:
{{- include "marktvogt-backend.selectorLabels" . | nindent 6 }}