Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

build(deploy): give both LLM proxies a 1860 s termination grace period (#739)

Alfredo Lopezecc15a26d428
diff --git a/deploy/base/control-plane/codex-llm-proxy.yaml b/deploy/base/control-plane/codex-llm-proxy.yaml
index 3cadaa971..807ef1c4d 100644
--- a/deploy/base/control-plane/codex-llm-proxy.yaml
+++ b/deploy/base/control-plane/codex-llm-proxy.yaml
@@ -55,7 +55,10 @@ spec:
spec:
serviceAccountName: codex-llm-proxy
automountServiceAccountToken: false
- terminationGracePeriodSeconds: 30
+ # On SIGTERM the proxy waits for its open streams (#739 D6): the stream
+ # cap (CODEX_LLM_PROXY_MAX_STREAM_DURATION_MS / 1000) plus 60 s for
+ # redeem and finalize. The deploy-contract script derives this value.
+ terminationGracePeriodSeconds: 1860
securityContext:
runAsNonRoot: true
seccompProfile:
diff --git a/deploy/base/control-plane/grok-llm-proxy.yaml b/deploy/base/control-plane/grok-llm-proxy.yaml
index 47fdb7dd7..79f994a80 100644
--- a/deploy/base/control-plane/grok-llm-proxy.yaml
+++ b/deploy/base/control-plane/grok-llm-proxy.yaml
@@ -50,7 +50,10 @@ spec:
spec:
serviceAccountName: grok-llm-proxy
automountServiceAccountToken: false
- terminationGracePeriodSeconds: 30
+ # On SIGTERM the proxy waits for its open streams (#739 D6): the stream
+ # cap (GROK_LLM_PROXY_MAX_STREAM_DURATION_MS / 1000) plus 60 s for
+ # redeem and finalize. The deploy-contract script derives this value.
+ terminationGracePeriodSeconds: 1860
securityContext:
runAsNonRoot: true
seccompProfile: