aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/matrix/deploy/im.hcl3
-rw-r--r--cluster/prod/app/postgres/deploy/postgres.hcl9
-rw-r--r--cluster/prod/app/telemetry/deploy/telemetry-service.hcl9
3 files changed, 14 insertions, 7 deletions
diff --git a/cluster/prod/app/matrix/deploy/im.hcl b/cluster/prod/app/matrix/deploy/im.hcl
index 0d5387e..ed05ffc 100644
--- a/cluster/prod/app/matrix/deploy/im.hcl
+++ b/cluster/prod/app/matrix/deploy/im.hcl
@@ -65,7 +65,8 @@ job "matrix" {
resources {
cpu = 1000
- memory = 1000
+ memory = 500
+ memory_max = 1000
}
service {
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 {
diff --git a/cluster/prod/app/telemetry/deploy/telemetry-service.hcl b/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
index 9955872..afa8a8d 100644
--- a/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
+++ b/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
@@ -36,7 +36,8 @@ job "telemetry-service" {
}
resources {
- memory = 200
+ memory = 50
+ memory_max = 200
cpu = 100
}
}
@@ -75,7 +76,8 @@ EOH
}
resources {
- memory = 500
+ memory = 100
+ memory_max = 400
cpu = 500
}
@@ -123,7 +125,8 @@ EOH
}
resources {
- memory = 200
+ memory = 50
+ memory_max = 200
cpu = 100
}
}