diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-04-08 10:41:50 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-04-08 10:43:42 +0200 |
commit | a614f495ad25adc180a30c8cdc5dadc4f11aa3a6 (patch) | |
tree | 1540bfdbffd017a11e71842cd8ecaebdea81aeb3 /cluster/prod/app/postgres/deploy | |
parent | 0e4c641db741c91dd95934b61e70a2f5268b3c7e (diff) | |
download | nixcfg-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.hcl | 9 |
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 { |