diff --git a/deploy/dev/sts.yaml b/deploy/dev/sts.yaml index 53171c82..e4df3f35 100644 --- a/deploy/dev/sts.yaml +++ b/deploy/dev/sts.yaml @@ -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 diff --git a/deploy/prod/deploy.yaml b/deploy/prod/deploy.yaml index 1cd7d1f5..f8b40810 100644 --- a/deploy/prod/deploy.yaml +++ b/deploy/prod/deploy.yaml @@ -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