From 5a5f05618e7c1fd9e7983a90f0ba75b492e548d9 Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 16 Jan 2023 14:04:51 +0000 Subject: fix(etl): Split memory usage Signed-off-by: pmikus Change-Id: Icd6b6bbff65ef70fd85bf3595c1d2a1a06655416 --- .../conf/nomad/etl.hcl.tftpl | 32 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) (limited to 'fdio.infra.terraform/terraform-nomad-pyspark-etl/conf/nomad') diff --git a/fdio.infra.terraform/terraform-nomad-pyspark-etl/conf/nomad/etl.hcl.tftpl b/fdio.infra.terraform/terraform-nomad-pyspark-etl/conf/nomad/etl.hcl.tftpl index 241af4d645..b5b43e5052 100644 --- a/fdio.infra.terraform/terraform-nomad-pyspark-etl/conf/nomad/etl.hcl.tftpl +++ b/fdio.infra.terraform/terraform-nomad-pyspark-etl/conf/nomad/etl.hcl.tftpl @@ -6,7 +6,7 @@ job "${job_name}" { prohibit_overlap = "${prohibit_overlap}" time_zone = "${time_zone}" } - group "${job_name}-master" { + group "${job_name}-trending" { restart { mode = "fail" } @@ -169,6 +169,20 @@ job "${job_name}" { memory = ${memory} } } + } + group "${job_name}-stats" { + restart { + mode = "fail" + } + constraint { + attribute = "$${attr.cpu.arch}" + operator = "!=" + value = "arm64" + } + constraint { + attribute = "$${node.class}" + value = "builder" + } task "${job_name}-stats" { artifact { source = "git::https://github.com/FDio/csit" @@ -200,7 +214,7 @@ job "${job_name}" { } } } - group "${job_name}-rls2302" { + group "${job_name}-coverage-rls2302" { restart { mode = "fail" } @@ -405,6 +419,20 @@ job "${job_name}" { memory = ${memory} } } + } + group "${job_name}-iterative-rls2302" { + restart { + mode = "fail" + } + constraint { + attribute = "$${attr.cpu.arch}" + operator = "!=" + value = "arm64" + } + constraint { + attribute = "$${node.class}" + value = "builder" + } task "${job_name}-iterative-hoststack" { artifact { source = "git::https://github.com/FDio/csit" -- cgit 1.2.3-korg