Staging: Reduce resource requirements to pack more things

This commit is contained in:
Alex 2023-01-03 18:25:32 +01:00
parent af73126f45
commit 18eef6e8e7
Signed by: lx
GPG key ID: 0E496D15096376BE
3 changed files with 7 additions and 7 deletions

View file

@ -83,7 +83,7 @@ EOH
config { config {
packages = [ packages = [
"git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=3c5aa3680eab1989361026b96e4968b4cd92dcb5" "git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=f163d1d348c78a27bb19a86a6158f4b5d1287f6f"
] ]
command = "tricot" command = "tricot"
# cap_add = [ "net_bind_service" ] # this doesn't work for whatever reason, so we need to put user = "root" instead # cap_add = [ "net_bind_service" ] # this doesn't work for whatever reason, so we need to put user = "root" instead
@ -91,7 +91,7 @@ EOH
user = "root" user = "root"
resources { resources {
cpu = 1000 cpu = 500
memory = 200 memory = 200
} }

View file

@ -25,7 +25,7 @@ job "garage-staging" {
config { config {
packages = [ packages = [
"#bash", # so that we can enter a shell inside container "#bash", # so that we can enter a shell inside container
"git+https://git.deuxfleurs.fr/Deuxfleurs/garage.git?ref=cli-improvements&rev=041b60ed1dc48563ad297a6a30230655555c9a20", "git+https://git.deuxfleurs.fr/Deuxfleurs/garage.git?ref=interrupted-cleanup&rev=0650a43cf14e7e52121a553130a9ea6c92b7bd4a",
] ]
command = "garage" command = "garage"
args = [ "server" ] args = [ "server" ]
@ -63,7 +63,7 @@ job "garage-staging" {
} }
resources { resources {
memory = 2000 memory = 1500
memory_max = 3000 memory_max = 3000
cpu = 500 cpu = 500
} }

View file

@ -149,7 +149,7 @@ GF_SECURITY_ADMIN_PASSWORD={{ key "secrets/telemetry/grafana/admin_password" }}
resources { resources {
memory = 300 memory = 300
cpu = 800 cpu = 300
} }
restart { restart {
@ -230,8 +230,8 @@ GF_SECURITY_ADMIN_PASSWORD={{ key "secrets/telemetry/grafana/admin_password" }}
ports = [ "jaeger-frontend", "jaeger-otlp-grpc", "jaeger-otlp-http" ] ports = [ "jaeger-frontend", "jaeger-otlp-grpc", "jaeger-otlp-http" ]
} }
resources { resources {
memory = 2000 memory = 1000
cpu = 1000 cpu = 500
} }
template { template {