3
0
mirror of https://github.com/mastodon/chart synced 2025-05-17 20:43: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>") }}
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
{{- end }}
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 2
maxUnavailable: 25%
selector:
matchLabels:
{{- include "mastodon.selectorLabels" . | nindent 6 }}
@ -203,6 +208,7 @@ spec:
httpGet:
path: /health
port: http
initialDelaySeconds: 15
failureThreshold: 30
periodSeconds: 5
{{- with (default .Values.resources .Values.mastodon.web.resources) }}