From 3e3a629f7381ce34399d6a0c4212bb3361185d16 Mon Sep 17 00:00:00 2001 From: Sense T Date: Mon, 18 May 2026 03:18:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=A3=80=E6=9F=A5=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openclaw/deployment.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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