nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests |Archive | README

commit c76e9a8c0906043bc9663b72dfed68e6f423f607
parent 50320ec364b02e315d9c150e6fabe9f7e908a34e
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun, 18 Jan 2026 22:53:32 +0100

feat: add arm64 constraints

Diffstat:
Mhcl/default/bastard-operator/bastard-operator.nomad | 6++++++
Mhcl/default/hivedav-demo/hivedav-demo.nomad | 6++++++
Mhcl/default/myheats-demo/myheats-demo-stable.nomad | 6++++++
3 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/hcl/default/bastard-operator/bastard-operator.nomad b/hcl/default/bastard-operator/bastard-operator.nomad @@ -20,6 +20,12 @@ job "bastard" { } } + constraint { + # image only built for arm + attribute = "${attr.cpu.arch}" + value = "arm64" + } + task "nginx" { driver = "podman" diff --git a/hcl/default/hivedav-demo/hivedav-demo.nomad b/hcl/default/hivedav-demo/hivedav-demo.nomad @@ -5,6 +5,12 @@ job "hivedav-demo" { vault {} + constraint { + # image only built for arm + attribute = "${attr.cpu.arch}" + value = "arm64" + } + group "server" { count = 1 diff --git a/hcl/default/myheats-demo/myheats-demo-stable.nomad b/hcl/default/myheats-demo/myheats-demo-stable.nomad @@ -8,6 +8,12 @@ job "myheats-demo" { priority = 80 + constraint { + # image only built for arm + attribute = "${attr.cpu.arch}" + value = "arm64" + } + group "server" { count = 1