github.com/adityamillind98/nomad@v0.11.8/website/pages/docs/commands/namespace/inspect.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: namespace inspect'
     4  sidebar_title: inspect
     5  description: >
     6    The namespace inspect command is used to view raw information about a
     7    particular namespace.
     8  ---
     9  
    10  # Command: namespace inspect
    11  
    12  The `namespace inspect` command is used to view raw information about a particular
    13  namespace.
    14  
    15  ~> Namespace commands are new in Nomad 0.7 and are only available with Nomad
    16  Enterprise.
    17  
    18  ## Usage
    19  
    20  ```plaintext
    21  nomad namespace inspect [options] <namespace_name>
    22  ```
    23  
    24  ## General Options
    25  
    26  @include 'general_options.mdx'
    27  
    28  ## Inspect Options
    29  
    30  - `-t` : Format and display the namespace using a Go template.
    31  
    32  ## Examples
    33  
    34  Inspect a namespace:
    35  
    36  ```shell-session
    37  $ nomad namespace inspect default
    38  {
    39      "CreateIndex": 5,
    40      "Description": "Default shared namespace",
    41      "ModifyIndex": 38,
    42      "Name": "default",
    43      "Quota": "shared-default-quota"
    44  }
    45  ```