Files
nomad/website/content/docs/commands/node-pool/delete.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
868 B
Plaintext

---
layout: docs
page_title: 'nomad node pool delete command reference'
description: |
The `nomad node pool delete` command deletes the specified node pool.
---
# `nomad node pool delete` command reference
The `node pool delete` command is used delete a node pool.
## Usage
```plaintext
nomad node pool delete [options] <node-pool>
```
If ACLs are enabled, this command requires a token with the 'delete'
capability in a `node_pool` policy that matches the node pool being targeted.
You cannot delete a node pool that has nodes or non-terminal jobs. In federated
clusters, you cannot delete a node pool that has nodes or non-terminal jobs in
any of the federated regions.
## General options
@include 'general_options_no_namespace.mdx'
## Examples
Delete a node pool:
```shell-session
$ nomad node pool delete dev
Successfully deleted node pool "dev"!
```