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
|
# 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.
|
# you make changes to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# 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>") }}
|
{{- if (ne (toString .Values.mastodon.revisionHistoryLimit) "<nil>") }}
|
||||||
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 10%
|
||||||
|
maxUnavailable: 25%
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "mastodon.selectorLabels" . | nindent 6 }}
|
{{- include "mastodon.selectorLabels" . | nindent 6 }}
|
||||||
|
@ -135,6 +140,13 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/v1/streaming/health
|
path: /api/v1/streaming/health
|
||||||
port: streaming
|
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) }}
|
{{- with (default .Values.resources .Values.mastodon.streaming.resources) }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
|
@ -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: 10%
|
||||||
|
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