Skip to content

Commit 73a08b4

Browse files
committed
fix(k8s/dev): raise dev API limits to 1Gi/1 for image serving
The atlas/grid-square image endpoints decode 31MB+ MRC/TIFF files to PNG; under a grid/atlas page's request fan-out this overruns the 256Mi/200m dev pod (OOMKill + ~15s encodes). Raise the development smartem-http-api limits to 1Gi/1 so local image serving stays stable across a `dev-k8s.sh` redeploy, instead of relying on a manual post-deploy `kubectl set resources` patch. Requests are unchanged (Burstable). Dev environment only; stage/prod sizing is untouched.
1 parent 02d733a commit 73a08b4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

k8s/environments/development/smartem-http-api.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,12 @@ spec:
5555
requests:
5656
memory: "128Mi"
5757
cpu: "100m"
58+
# Image endpoints decode 31MB+ MRC/TIFF files to PNG; under a grid/atlas page's
59+
# request fan-out this overruns a 256Mi/200m pod (OOMKill + slow encodes). Give the
60+
# dev API headroom so local image-serving stays stable.
5861
limits:
59-
memory: "256Mi"
60-
cpu: "200m"
62+
memory: "1Gi"
63+
cpu: "1"
6164

6265
---
6366

0 commit comments

Comments
 (0)