Ensure slow rollout

This commit is contained in:
Michael 2022-10-04 01:05:06 +02:00 committed by GitHub
parent 86cf7f4810
commit b499f125d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,11 @@ spec:
{{- if not .Values.backend.autoscaling.enabled }}
replicas: {{ .Values.backend.replicaCount }}
{{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
{{- include "hangar.selectorLabels" . | nindent 6 }}

View File

@ -8,6 +8,11 @@ spec:
{{- if not .Values.frontend.autoscaling.enabled }}
replicas: {{ .Values.frontend.replicaCount }}
{{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
{{- include "hangar.selectorLabels" . | nindent 6 }}