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
7078f60c1a
commit
e7f661bd45
1 changed files with 9 additions and 0 deletions
|
|
@ -134,6 +134,15 @@ resource "kubernetes_deployment" "affine" {
|
||||||
mount_path = "/root/.affine/config"
|
mount_path = "/root/.affine/config"
|
||||||
sub_path = "config"
|
sub_path = "config"
|
||||||
}
|
}
|
||||||
|
resources {
|
||||||
|
requests = {
|
||||||
|
cpu = "50m"
|
||||||
|
memory = "256Mi"
|
||||||
|
}
|
||||||
|
limits = {
|
||||||
|
memory = "512Mi"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
container {
|
container {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue