Skip to content

Commit

Permalink
Adjust rolling update speed for web pods
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim committed Jul 8, 2024
1 parent 3da4e6d commit 264b79c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/deployment-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ spec:
{{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }}
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
{{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 2
maxUnavailable: 25%
selector:
matchLabels:
{{- include "mastodon.selectorLabels" . | nindent 6 }}
Expand Down Expand Up @@ -203,6 +208,7 @@ spec:
httpGet:
path: /health
port: http
initialDelaySeconds: 15
failureThreshold: 30
periodSeconds: 5
{{- with (default .Values.resources .Values.mastodon.web.resources) }}
Expand Down

0 comments on commit 264b79c

Please sign in to comment.