mirror of
https://github.com/mastodon/chart
synced 2025-03-14 21:11:50 +00:00
Rollout tuning (#139)
This commit is contained in:
parent
3da4e6d611
commit
36a38c2500
|
@ -15,7 +15,7 @@ type: application
|
|||
# This is the chart version. This version number should be incremented each time
|
||||
# you make changes to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 5.1.1
|
||||
version: 5.1.2
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
|
|
|
@ -13,6 +13,11 @@ spec:
|
|||
{{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }}
|
||||
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
|
||||
{{- end }}
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 10%
|
||||
maxUnavailable: 25%
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "mastodon.selectorLabels" . | nindent 6 }}
|
||||
|
@ -135,6 +140,13 @@ spec:
|
|||
httpGet:
|
||||
path: /api/v1/streaming/health
|
||||
port: streaming
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /api/v1/streaming/health
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
failureThreshold: 15
|
||||
periodSeconds: 5
|
||||
{{- with (default .Values.resources .Values.mastodon.streaming.resources) }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
|
|
@ -13,6 +13,11 @@ spec:
|
|||
{{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }}
|
||||
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
|
||||
{{- end }}
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 10%
|
||||
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