From afc368421db3aecec2c43e9751b8bb45352322b7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 18 Oct 2022 10:40:59 +0200 Subject: Rebalance ressource attribution on staging --- cluster/staging/app/im/deploy/im.hcl | 6 ++++++ cluster/staging/app/telemetry/deploy/telemetry.hcl | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'cluster/staging') diff --git a/cluster/staging/app/im/deploy/im.hcl b/cluster/staging/app/im/deploy/im.hcl index c60b095..25e80a1 100644 --- a/cluster/staging/app/im/deploy/im.hcl +++ b/cluster/staging/app/im/deploy/im.hcl @@ -20,6 +20,12 @@ job "im" { delay = "30s" } + constraint { + attribute = "${attr.unique.hostname}" + operator = "!=" + value = "caribou" + } + task "restore-db" { lifecycle { hook = "prestart" diff --git a/cluster/staging/app/telemetry/deploy/telemetry.hcl b/cluster/staging/app/telemetry/deploy/telemetry.hcl index 18719bc..cbbdec3 100644 --- a/cluster/staging/app/telemetry/deploy/telemetry.hcl +++ b/cluster/staging/app/telemetry/deploy/telemetry.hcl @@ -147,7 +147,7 @@ job "telemetry" { resources { memory = 300 - cpu = 300 + cpu = 800 } service { @@ -224,7 +224,7 @@ job "telemetry" { } resources { memory = 2000 - cpu = 300 + cpu = 1000 } template { -- cgit v1.2.3