diff --git a/openclaw/deployment.yaml b/openclaw/deployment.yaml index 79f88f5..ad47a53 100644 --- a/openclaw/deployment.yaml +++ b/openclaw/deployment.yaml @@ -55,20 +55,19 @@ spec: - mountPath: /tmp name: tmp livenessProbe: - exec: - command: - - node - - -e - - "require('http').get('http://127.0.0.1:18789/healthz', r => process.exit(r.statusCode < 400 ? 0 : 1)).on('error', () => process.exit(1))" + httpGet: + path: /healthz + port: 18789 + scheme: HTTP initialDelaySeconds: 60 periodSeconds: 30 timeoutSeconds: 10 + failureThreshold: 3 readinessProbe: - exec: - command: - - node - - -e - - "require('http').get('http://127.0.0.1:18789/readyz', r => process.exit(r.statusCode < 400 ? 0 : 1)).on('error', () => process.exit(1))" + httpGet: + path: /readyz + port: 18789 + scheme: HTTP initialDelaySeconds: 15 periodSeconds: 10 timeoutSeconds: 5