Files
nomad/website/content/docs/commands/node-pool/init.mdx
Aimee Ukasick 23fd87d9c9 Docs: Commands section move "General options" to page bottom (#26001)
* sectionless files plus acl section

* alloc section

* config, deployment sections

* job section

* licence, namespace

* node, node-pool

* operator

* plugin, quota, recommendation

* scaling, sentinel, server, service, system, var, volume

* Add "ENT" label to left nav for enterprise commands

* job tag break into separate folder and files; update options header
2025-06-12 14:31:38 -05:00

37 lines
868 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.
## 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
```