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:
parent
ef4cfc146a
commit
8612eb3fc7
1 changed files with 9 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue