更改检查方式

This commit is contained in:
Sense T
2026-05-18 03:18:03 +00:00
parent 8419b24c31
commit 3e3a629f73
+9 -10
View File
@@ -55,20 +55,19 @@ spec:
- mountPath: /tmp - mountPath: /tmp
name: tmp name: tmp
livenessProbe: livenessProbe:
exec: httpGet:
command: path: /healthz
- node port: 18789
- -e scheme: HTTP
- "require('http').get('http://127.0.0.1:18789/healthz', r => process.exit(r.statusCode < 400 ? 0 : 1)).on('error', () => process.exit(1))"
initialDelaySeconds: 60 initialDelaySeconds: 60
periodSeconds: 30 periodSeconds: 30
timeoutSeconds: 10 timeoutSeconds: 10
failureThreshold: 3
readinessProbe: readinessProbe:
exec: httpGet:
command: path: /readyz
- node port: 18789
- -e scheme: HTTP
- "require('http').get('http://127.0.0.1:18789/readyz', r => process.exit(r.statusCode < 400 ? 0 : 1)).on('error', () => process.exit(1))"
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5