aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/postgres/deploy
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-04-08 10:41:50 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-04-08 10:43:42 +0200
commita614f495ad25adc180a30c8cdc5dadc4f11aa3a6 (patch)
tree1540bfdbffd017a11e71842cd8ecaebdea81aeb3 /cluster/prod/app/postgres/deploy
parent0e4c641db741c91dd95934b61e70a2f5268b3c7e (diff)
downloadnixcfg-a614f495ad25adc180a30c8cdc5dadc4f11aa3a6.tar.gz
nixcfg-a614f495ad25adc180a30c8cdc5dadc4f11aa3a6.zip
allow memory overprovisionning
Diffstat (limited to 'cluster/prod/app/postgres/deploy')
-rw-r--r--cluster/prod/app/postgres/deploy/postgres.hcl9
1 files changed, 6 insertions, 3 deletions
diff --git a/cluster/prod/app/postgres/deploy/postgres.hcl b/cluster/prod/app/postgres/deploy/postgres.hcl
index 749731d..9bad079 100644
--- a/cluster/prod/app/postgres/deploy/postgres.hcl
+++ b/cluster/prod/app/postgres/deploy/postgres.hcl
@@ -37,7 +37,8 @@ job "postgres14" {
]
}
resources {
- memory = 100
+ memory = 20
+ memory_max = 100
}
template {
@@ -80,7 +81,8 @@ job "postgres14" {
}
resources {
- memory = 100
+ memory = 20
+ memory_max = 100
}
template {
@@ -172,7 +174,8 @@ job "postgres14" {
}
resources {
- memory = 600
+ memory = 400
+ memory_max = 600
}
service {