about summary refs log tree commit diff
path: root/chart
diff options
context:
space:
mode:
authorJoe Friedl <stuff@joefriedl.net>2022-11-10 13:16:49 -0500
committerGitHub <noreply@github.com>2022-11-10 19:16:49 +0100
commit86232e68a81303eb47919c2b0663c54f3b0f8237 (patch)
treebc8be80018b708b9e4e078ad3531431eaad75691 /chart
parent6c7cdedb2460b3fed1000b1c84e6a1fdffda4c5c (diff)
Give web container time to start (#19828)
Diffstat (limited to 'chart')
-rw-r--r--chart/templates/deployment-web.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/chart/templates/deployment-web.yaml b/chart/templates/deployment-web.yaml
index 23d4676b3..5fb316396 100644
--- a/chart/templates/deployment-web.yaml
+++ b/chart/templates/deployment-web.yaml
@@ -96,13 +96,18 @@ spec:
               containerPort: {{ .Values.mastodon.web.port }}
               protocol: TCP
           livenessProbe:
+            tcpSocket:
+              port: http
+          readinessProbe:
             httpGet:
               path: /health
               port: http
-          readinessProbe:
+          startupProbe:
             httpGet:
               path: /health
               port: http
+            failureThreshold: 30
+            periodSeconds: 5
           resources:
             {{- toYaml .Values.resources | nindent 12 }}
       {{- with .Values.nodeSelector }}