gearheads
/
mastodon
Archived
2
0
Fork 0

Give web container time to start (#19828)

gh/stable
Joe Friedl 2022-11-10 13:16:49 -05:00 committed by GitHub
parent 6c7cdedb24
commit 86232e68a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -96,13 +96,18 @@ spec:
containerPort: {{ .Values.mastodon.web.port }} containerPort: {{ .Values.mastodon.web.port }}
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: tcpSocket:
path: /health
port: http port: http
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /health path: /health
port: http port: http
startupProbe:
httpGet:
path: /health
port: http
failureThreshold: 30
periodSeconds: 5
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}