新增健康检查
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user