diff --git a/deploy.sh b/deploy.sh index aa69a28..882e3b6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -157,12 +157,13 @@ spec: - containerPort: ${PORT} protocol: TCP livenessProbe: - httpGet: - path: /health - port: ${PORT} - initialDelaySeconds: 30 + exec: + command: + - sh + - -c + - ps aux | grep "npm start" | grep -v grep + initialDelaySeconds: 10 periodSeconds: 10 - timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: