layout | page_title | description |
---|---|---|
docs |
Commands: node pool init |
Generate an example node pool specification.
|
The node pool init
creates an example node pool specification file that can be
used as a starting point to customize further.
nomad node pool init <filename>
When no filename is supplied, a default filename of "pool.nomad.hcl" or "pool.nomad.json" will be used depending on the output format.
-
-out
(enum: hcl | json)
: Format of generated node pool specification. Defaults tohcl
. -
-quiet
: Do not print success message.
Create an example node pool specification:
$ nomad node pool init
Example node pool specification written to pool.nomad.hcl