fix(grid-rs): bump memory limit to 1 Gi
The real worker binary OOM-killed at 512 Mi on startup. The plan's 512 Mi assumption was speculative — actual Rust RSS at boot includes sqlx pool buffers, reqwest connection pool, tokio runtime, and tracing JSON subscriber. 1 Gi leaves room for all of that plus the steady-state ~500 Mi during a chain step.
This commit is contained in:
parent
90281b8562
commit
25c3d4f688
1 changed files with 6 additions and 2 deletions
|
|
@ -71,10 +71,14 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: "4"
|
||||
memory: 512Mi
|
||||
# 512 Mi OOM-killed the real binary at startup. 1 Gi gives
|
||||
# room for sqlx pool + reqwest pool + tokio runtime +
|
||||
# tracing buffers, with headroom vs the steady-state
|
||||
# target (~500 Mi during a chain step).
|
||||
memory: 1Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue