hermes(agent): probe loopback stock dashboard
This commit is contained in:
parent
f9dc4bd306
commit
0dc8ae872c
@ -24,7 +24,7 @@ spec:
|
|||||||
ai.bstein.dev/execution: Hermes Kanban with durable direct Codex and Claude Code CLI workers
|
ai.bstein.dev/execution: Hermes Kanban with durable direct Codex and Claude Code CLI workers
|
||||||
ai.bstein.dev/model-policy: Jetson-assisted AUTO routing, low through xhigh, cross-provider fallback
|
ai.bstein.dev/model-policy: Jetson-assisted AUTO routing, low through xhigh, cross-provider fallback
|
||||||
ai.bstein.dev/placement: rpi5 preferred; Jetson deferred until state storage is available
|
ai.bstein.dev/placement: rpi5 preferred; Jetson deferred until state storage is available
|
||||||
ai.bstein.dev/config-rev: "20260811-stock-supervisor"
|
ai.bstein.dev/config-rev: "20260811-stock-supervisor-probe"
|
||||||
vault.hashicorp.com/agent-inject: "true"
|
vault.hashicorp.com/agent-inject: "true"
|
||||||
vault.hashicorp.com/role: hermes-agent
|
vault.hashicorp.com/role: hermes-agent
|
||||||
vault.hashicorp.com/agent-inject-secret-anthropic-token: kv/data/atlas/hermes/agent-tokens
|
vault.hashicorp.com/agent-inject-secret-anthropic-token: kv/data/atlas/hermes/agent-tokens
|
||||||
@ -357,17 +357,20 @@ spec:
|
|||||||
- {name: auto-router-plugin, mountPath: /opt/data/plugins/auto-router, readOnly: true}
|
- {name: auto-router-plugin, mountPath: /opt/data/plugins/auto-router, readOnly: true}
|
||||||
- {name: tmp, mountPath: /tmp}
|
- {name: tmp, mountPath: /tmp}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
tcpSocket: {port: dashboard}
|
exec:
|
||||||
|
command: [curl, -fsS, http://127.0.0.1:9119/api/status]
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 60
|
failureThreshold: 60
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket: {port: dashboard}
|
exec:
|
||||||
|
command: [curl, -fsS, http://127.0.0.1:9119/api/status]
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
tcpSocket: {port: dashboard}
|
exec:
|
||||||
|
command: [curl, -fsS, http://127.0.0.1:9119/api/status]
|
||||||
initialDelaySeconds: 90
|
initialDelaySeconds: 90
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
|
|||||||
@ -647,6 +647,13 @@ def test_agent_root_is_stock_dashboard_and_terminal_is_a_separate_path():
|
|||||||
assert hermes_env["HERMES_TUI_AGENT_INIT_TIMEOUT_S"] == "180"
|
assert hermes_env["HERMES_TUI_AGENT_INIT_TIMEOUT_S"] == "180"
|
||||||
assert hermes["securityContext"]["runAsUser"] == 0
|
assert hermes["securityContext"]["runAsUser"] == 0
|
||||||
assert hermes["securityContext"]["runAsGroup"] == 0
|
assert hermes["securityContext"]["runAsGroup"] == 0
|
||||||
|
for probe_name in ("startupProbe", "readinessProbe", "livenessProbe"):
|
||||||
|
probe = hermes[probe_name]
|
||||||
|
assert probe["exec"]["command"] == [
|
||||||
|
"curl",
|
||||||
|
"-fsS",
|
||||||
|
"http://127.0.0.1:9119/api/status",
|
||||||
|
]
|
||||||
|
|
||||||
terminal = containers["terminal"]
|
terminal = containers["terminal"]
|
||||||
command = terminal["args"][0]
|
command = terminal["args"][0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user