It doesn’t really explain when I would group anything together.
Jobs are collections of groups.
So should I just put all of my groups into one huge job file? How should I separate jobs?
Groups are collections of tasks which execute on the same Nomad client .
Why would I want several tasks to execute on the same client? I thought one of the purposes of Nomad was to abstract where your service is running, so you tell Nomad to run something and it will just figure it out.
By constraining several tasks to one client, isn’t that making Nomad less flexible? And what is the advantage?
Tasks are the atomic unit of work.
My understand of a task is that a task is pretty similar to a service, and can be a service if other tasks need to access them, like APIs, but if a task doesn’t need to be open some port to allow other tasks to call it then it is a task but not a service. Is that kind of correct?