Nomad constraint in parameter job

Hey Team,

Is it possible to use parameters from the parameterized batch job to do something like below?

parameterized {
    meta_required = ["NODE_PLACEMENT"]
  }
constraint {
    attribute = "${meta.nomad_client}"
    value     = "${NOMAD_META_NODE_PLACEMENT}"
}
1 Like

(or) Could you let me know if there’s an alternative option to schedule a job on a specific node based on a parameter value?

1 Like