postiz: bump memory limit to 4Gi (was OOMing during NestJS startup)
This commit is contained in:
parent
8c4a370a34
commit
d3db617b1b
1 changed files with 6 additions and 2 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue