fix: bump affine migration init container memory to 512Mi

Init container was OOMKilled (137) with default 128Mi LimitRange limit.
Prisma/Node.js migrations need more memory.
This commit is contained in:
Viktor Barzin 2026-03-14 16:37:06 +00:00
parent ef4cfc146a
commit 8612eb3fc7

View file

@ -134,6 +134,15 @@ resource "kubernetes_deployment" "affine" {
mount_path = "/root/.affine/config"
sub_path = "config"
}
resources {
requests = {
cpu = "50m"
memory = "256Mi"
}
limits = {
memory = "512Mi"
}
}
}
container {