Deploy to all clients without specifying a count

Hi all, I’m trying to figure out how to deploy to all clients in a particular datacenter without having to specify a count parameter that matches the number of clients.

Is there a way to use the spread stanza to automatically deploy to every client in a datacenter? All of the examples I can see rely on there being a count parameter provided.

Hi @codingconcepts. I believe the Nomad system scheduler would fit the use case you have here. When used, it will deploy a single instance of the job to every client that meets the job constraints. This is configured by the type parameter within the job specification.

Thanks,
jrasell and the Nomad team

That’s done it! I can’t believe it was as simple as type = "system" :joy:

Thank you very much for your super quick response and advice :pray: