新增健康检查
This commit is contained in:
@@ -37,6 +37,22 @@ spec:
|
|||||||
- name: gateway
|
- name: gateway
|
||||||
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
|
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
|
||||||
image: image
|
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:
|
ports:
|
||||||
- containerPort: 8642
|
- containerPort: 8642
|
||||||
name: gateway
|
name: gateway
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ secretGenerator:
|
|||||||
- secrets/TELEGRAM_BOT_TOKEN
|
- secrets/TELEGRAM_BOT_TOKEN
|
||||||
- secrets/DEEPSEEK_API_KEY
|
- secrets/DEEPSEEK_API_KEY
|
||||||
- secrets/API_SERVER_KEY
|
- secrets/API_SERVER_KEY
|
||||||
|
- secrets/SIYUAN_TOKEN
|
||||||
type: Opaque
|
type: Opaque
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: hermes
|
- name: hermes
|
||||||
@@ -22,3 +23,4 @@ configMapGenerator:
|
|||||||
- config/GATEWAY_ALLOW_ALL_USERS
|
- config/GATEWAY_ALLOW_ALL_USERS
|
||||||
- config/TELEGRAM_OBSERVE_UNMENTIONED_GROUP_MESSAGES
|
- config/TELEGRAM_OBSERVE_UNMENTIONED_GROUP_MESSAGES
|
||||||
- config/TELEGRAM_REQUIRE_MENTION
|
- config/TELEGRAM_REQUIRE_MENTION
|
||||||
|
- config/SIYUAN_URL
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
o9mxt18liiq5hr7i
|
||||||
Reference in New Issue
Block a user