mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
* 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
37 lines
868 B
Plaintext
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.
|
|
|
|
## Examples
|
|
|
|
Delete a node pool:
|
|
|
|
```shell-session
|
|
$ nomad node pool delete dev
|
|
Successfully deleted node pool "dev"!
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|