From 679f43468d9bcddc126c48aa9d30451c0212e701 Mon Sep 17 00:00:00 2001 From: Asara Date: Thu, 26 Aug 2021 19:21:57 -0400 Subject: [PATCH] MULTIARCH DOCKER BUILDS LETS GO! Running sudosci backend on arm nodes --- nomad/sudoscientist-go-backend.nomad | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nomad/sudoscientist-go-backend.nomad b/nomad/sudoscientist-go-backend.nomad index 65448e5..1e11757 100644 --- a/nomad/sudoscientist-go-backend.nomad +++ b/nomad/sudoscientist-go-backend.nomad @@ -3,6 +3,11 @@ job "sudoscientist-go-backend" { region = "global" type = "service" + constraint { + attribute = "${attr.cpu.arch}" + value = "arm64" + } + update { stagger = "30s" max_parallel = 1 @@ -79,7 +84,7 @@ UI_PROTO = https:// resources { cpu = 2000 - memory = 2560 + memory = 256 } }