mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
Adjust rolling update speed for web pods
This commit is contained in:
parent
3da4e6d611
commit
264b79c9a0
|
@ -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) }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user