Give web container time to start (#19828)

lolsob-rspec
Joe Friedl 2022-11-10 13:16:49 -05:00 committed by GitHub
parent 3e1ad1516a
commit f0fa19d118
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 }}