open-nomad/website/pages/docs/commands/namespace/inspect.mdx

46 lines
893 B
Plaintext
Raw Normal View History

2017-10-13 23:26:39 +00:00
---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: namespace inspect'
sidebar_title: inspect
2017-10-13 23:26:39 +00:00
description: >
2020-02-06 23:45:31 +00:00
The namespace inspect command is used to view raw information about a
particular namespace.
2017-10-13 23:26:39 +00:00
---
# Command: namespace inspect
The `namespace inspect` command is used to view raw information about a particular
namespace.
2020-10-22 21:59:40 +00:00
~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
when introduced in Nomad 0.7.
2018-03-22 20:39:18 +00:00
2017-10-13 23:26:39 +00:00
## Usage
```plaintext
2017-10-13 23:26:39 +00:00
nomad namespace inspect [options] <namespace_name>
```
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.mdx'
2017-10-13 23:26:39 +00:00
## Inspect Options
- `-t` : Format and display the namespace using a Go template.
2017-10-13 23:26:39 +00:00
## Examples
Inspect a namespace:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad namespace inspect default
2017-10-13 23:26:39 +00:00
{
"CreateIndex": 5,
"Description": "Default shared namespace",
"ModifyIndex": 38,
"Name": "default",
"Quota": "shared-default-quota"
}
```