Merge pull request #428 from Crossbell-Box/feat/healthcheck-deploy

chore: health check deploy
This commit is contained in:
Kind Jeff
2023-04-25 10:57:29 +08:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -48,10 +48,11 @@ spec:
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
readinessProbe:
tcpSocket:
httpGet:
path: /api/healthcheck
port: 3000
initialDelaySeconds: 40
periodSeconds: 10
periodSeconds: 20
livenessProbe:
tcpSocket:
port: 3000
+3 -2
View File
@@ -64,10 +64,11 @@ spec:
- name: xlog-image
mountPath: /app/.next/cache/images
readinessProbe:
tcpSocket:
httpGet:
path: /api/healthcheck
port: 3000
initialDelaySeconds: 40
periodSeconds: 10
periodSeconds: 20
livenessProbe:
tcpSocket:
port: 3000