allow memory overprovisionning

This commit is contained in:
Quentin 2023-04-08 10:41:50 +02:00
parent 0e4c641db7
commit a614f495ad
Signed by: quentin
GPG key ID: E9602264D639FF68
3 changed files with 14 additions and 7 deletions
cluster/prod/app
matrix/deploy
postgres/deploy
telemetry/deploy

View file

@ -65,7 +65,8 @@ job "matrix" {
resources { resources {
cpu = 1000 cpu = 1000
memory = 1000 memory = 500
memory_max = 1000
} }
service { service {

View file

@ -37,7 +37,8 @@ job "postgres14" {
] ]
} }
resources { resources {
memory = 100 memory = 20
memory_max = 100
} }
template { template {
@ -80,7 +81,8 @@ job "postgres14" {
} }
resources { resources {
memory = 100 memory = 20
memory_max = 100
} }
template { template {
@ -172,7 +174,8 @@ job "postgres14" {
} }
resources { resources {
memory = 600 memory = 400
memory_max = 600
} }
service { service {

View file

@ -36,7 +36,8 @@ job "telemetry-service" {
} }
resources { resources {
memory = 200 memory = 50
memory_max = 200
cpu = 100 cpu = 100
} }
} }
@ -75,7 +76,8 @@ EOH
} }
resources { resources {
memory = 500 memory = 100
memory_max = 400
cpu = 500 cpu = 500
} }
@ -123,7 +125,8 @@ EOH
} }
resources { resources {
memory = 200 memory = 50
memory_max = 200
cpu = 100 cpu = 100
} }
} }