3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 13:03:21 +00:00

Adjust rolling update speed for web pods

This commit is contained in:
Tim Campbell 2024-07-08 14:52:45 +02:00
parent 3da4e6d611
commit 264b79c9a0

View File

@ -13,6 +13,11 @@ spec:
{{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }} {{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }}
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
{{- end }} {{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 2
maxUnavailable: 25%
selector: selector:
matchLabels: matchLabels:
{{- include "mastodon.selectorLabels" . | nindent 6 }} {{- include "mastodon.selectorLabels" . | nindent 6 }}
@ -203,6 +208,7 @@ spec:
httpGet: httpGet:
path: /health path: /health
port: http port: http
initialDelaySeconds: 15
failureThreshold: 30 failureThreshold: 30
periodSeconds: 5 periodSeconds: 5
{{- with (default .Values.resources .Values.mastodon.web.resources) }} {{- with (default .Values.resources .Values.mastodon.web.resources) }}