» Command: job init
job init command creates an example job specification in the
current directory that demonstrates some common configurations for tasks, task
groups, runtime constraints, and resource allocation.
» Init Options
-short: If set, a minimal jobspec without comments is emitted.
-connect: If set, the jobspec includes Consul Connect integration.
Generate an example job file:
$ nomad job init Example job file written to example.nomad