新增健康检查

This commit is contained in:
Sense T
2026-05-26 04:51:09 +00:00
parent e30f154af4
commit 689b62f836
3 changed files with 19 additions and 0 deletions
+16
View File
@@ -37,6 +37,22 @@ spec:
- name: gateway
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
image: image
livenessProbe:
httpGet:
path: /health
port: 8642
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8642
periodSeconds: 3
successThreshold: 1
timeoutSeconds: 5
ports:
- containerPort: 8642
name: gateway