diff --git a/templates/nomad_jobs/grafana.hcl b/templates/nomad_jobs/grafana.hcl index 85a3f4d..41477fd 100644 --- a/templates/nomad_jobs/grafana.hcl +++ b/templates/nomad_jobs/grafana.hcl @@ -3,6 +3,12 @@ job "grafana" { datacenters = ["{{ datacenter_name }}"] type = "service" + constraint { + attribute = "${node.unique.name}" + operator = "regexp" + value = "macmini" + } + update { max_parallel = 1 health_check = "checks"