Hi,
We have a lot of jobs that works fine in our cluster. But we would like to add a dedicated node for a single job and place on the node only that particular job.
As a solution we can add a constraint for all jobs and nomad will place them to a current cluster and for the new job add a constraint for that dedicated node.
But it would much easier not to modify all .nomad files but add something like client-side constraint which would enable "non-greedy" allocation.
For instance on client-side:
required_jobs_constraint {
attribute = "${meta.host_type}"
operator = "="
value = "awesome_host"
}
It wouldn't allow nomad to allocate jobs without `host_type` constraint.
Is there any way to exclude client from the pool of available clients for running all jobs except job with particular constraint?