Skip to content

Commit

Permalink
Set minUnavailable to 0 to minimize downtime
Browse files Browse the repository at this point in the history
  • Loading branch information
foriequal0 committed Jul 26, 2024
1 parent 934b0e7 commit 9f4735f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/pod-graceful-drain/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
{{- include "pod-graceful-drain.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
rollingUpdate:
maxUnavailable: 0
selector:
matchLabels:
{{- include "pod-graceful-drain.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 9f4735f

Please sign in to comment.