diff --git a/k8s/deployment-grid-rs.yaml b/k8s/deployment-grid-rs.yaml index c7560490..d27532a2 100644 --- a/k8s/deployment-grid-rs.yaml +++ b/k8s/deployment-grid-rs.yaml @@ -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