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 8c4a370a34
commit d3db617b1b
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -160,13 +160,17 @@ resource "helm_release" "postiz" {
mountPath = "/uploads" 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 = { resources = {
requests = { requests = {
cpu = "100m" cpu = "100m"
memory = "256Mi" memory = "512Mi"
} }
limits = { limits = {
memory = "2Gi" memory = "4Gi"
} }
} }