diff --git a/charts/clawdbot/values.yaml b/charts/clawdbot/values.yaml index 1da0335a6..ed3a0d1ee 100644 --- a/charts/clawdbot/values.yaml +++ b/charts/clawdbot/values.yaml @@ -188,6 +188,7 @@ lifecycle: - rm -f /home/node/.clawdbot/gateway.*.lock; sleep 10 # Probes +# Use tcpSocket for startup/readiness (lightweight), exec for liveness (thorough) livenessProbe: enabled: true exec: @@ -195,31 +196,25 @@ livenessProbe: - node - dist/index.js - health - initialDelaySeconds: 30 - periodSeconds: 30 - timeoutSeconds: 10 + initialDelaySeconds: 60 + periodSeconds: 60 + timeoutSeconds: 30 failureThreshold: 3 readinessProbe: enabled: true - exec: - command: - - node - - dist/index.js - - health - initialDelaySeconds: 15 - periodSeconds: 10 - timeoutSeconds: 5 + tcpSocket: + port: 18789 + initialDelaySeconds: 10 + periodSeconds: 5 + timeoutSeconds: 3 failureThreshold: 3 startupProbe: enabled: true - exec: - command: - - node - - dist/index.js - - health + tcpSocket: + port: 18789 initialDelaySeconds: 10 periodSeconds: 5 - timeoutSeconds: 5 - failureThreshold: 12 # 60 seconds max startup time + timeoutSeconds: 3 + failureThreshold: 30 # 150 seconds max startup time