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>") }}
|
||||
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) }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user