Files
nomad/website/content/docs/commands/node-pool/init.mdx
Aimee Ukasick dae496e427 Docs: SEO front matter description for search: commands section (#25175)
* Enhance front matter description for search

* acl section

* alloc section

* config section

* deployment section

* eval section

* job section

* license section

* namespace section

* node section

* node pool section

* operator section

* plugin section

* quota section

* recommendation section

* scaling section

* sentinel section

* server section

* service section

* setup section

* system section

* tls section

* var section

* volume section

* change reference to command reference

* Apply suggestions from code review

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

---------

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2025-03-19 12:02:02 -05:00

37 lines
873 B
Plaintext

---
layout: docs
page_title: 'nomad node pool init command reference'
description: |
The `nomad node pool init` command generates an example node pool specification.
---
# `nomad node pool init` command reference
The `nomad node pool init` command creates an example node pool specification
file that you can use as a starting point to customize further.
## Usage
```plaintext
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.
## Init options
- `-out` `(enum: hcl | json)`: Format of generated node pool
specification. Defaults to `hcl`.
- `-quiet`: Do not print success message.
## Examples
Create an example node pool specification:
```shell-session
$ nomad node pool init
Example node pool specification written to pool.nomad.hcl
```