Skip to content

Commit

Permalink
feat(helm): set rollingUpdate.maxUnavailable to 34% per default
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
  • Loading branch information
clementnuss committed Apr 9, 2024
1 parent 2fc3d08 commit 9c44a69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helm/kubenurse/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ spec:
selector:
matchLabels:
{{- include "kubenurse.selectorLabels" . | nindent 6 }}
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: {{ .Values.daemonset.rollingUpdate.maxUnavailable }}
type: RollingUpdate
template:
metadata:
labels:
Expand Down
2 changes: 2 additions & 0 deletions helm/kubenurse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ daemonset:
volumeMounts: []
volumes: []
priorityClassName: ""
rollingUpdate:
maxUnavailable: 34%

serviceMonitor:
enabled: false
Expand Down

0 comments on commit 9c44a69

Please sign in to comment.