Limit nomad job startup concurrency (max jobs spawning at once)

Is there a way to specify that for jobs on a particular host machine within the cluster that “there can only be 5 of this job starting at any given time”. That is, I have some jobs that when starting require a lot of resources but that once are started continue along just fine so I want to bottleneck how many Nomad allows to be spawning on each host machine at once so that the CPU doesn’t get overloaded.

1 Like