postiz: bump memory limit to 4Gi (was OOMing during NestJS startup)

This commit is contained in:
Viktor Barzin 2026-05-09 09:12:39 +00:00
parent 888df84fb5
commit 16e408ee59

View file

@ -160,13 +160,17 @@ resource "helm_release" "postiz" {
mountPath = "/uploads"
}]
# Postiz runs frontend (Next 16) + backend (NestJS) + orchestrator
# (Temporal worker with webpack bundling) in one pod. The orchestrator
# alone bundles ~3MB JS per task queue, and on cold start it bundles
# several queues pushed peak RSS past 2Gi OOMKill mid-NestJS init.
resources = {
requests = {
cpu = "100m"
memory = "256Mi"
memory = "512Mi"
}
limits = {
memory = "2Gi"
memory = "4Gi"
}
}