diff --git a/stacks/postiz/modules/postiz/main.tf b/stacks/postiz/modules/postiz/main.tf index fcf28ff5..96e19555 100644 --- a/stacks/postiz/modules/postiz/main.tf +++ b/stacks/postiz/modules/postiz/main.tf @@ -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" } }