mirror of
https://github.com/kemko/nomad.git
synced 2026-01-12 13:25: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
39 lines
943 B
Plaintext
39 lines
943 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad namespace delete command reference'
|
|
description: |
|
|
The `nomad namespace delete` command deletes a namespace.
|
|
---
|
|
|
|
# `nomad namespace delete` command reference
|
|
|
|
The `namespace delete` command is used delete a namespace.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad namespace delete [options] <namespace>
|
|
```
|
|
|
|
The `namespace delete` command requires the name of the namespace to be deleted.
|
|
|
|
If ACLs are enabled, this command requires a management ACL token.
|
|
|
|
You cannot delete a namespace that has non-terminal jobs or allocations,
|
|
existing CSI volumes or variables attached to it, or quotas associated with it.
|
|
In federated clusters, you cannot delete a namespace that has any of the above
|
|
in any of the federated regions.
|
|
|
|
## Examples
|
|
|
|
Delete a namespace
|
|
|
|
```shell-session
|
|
$ nomad namespace delete api-prod
|
|
Successfully deleted namespace "api-prod"!
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|