github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/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  ~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only
    16  when introduced in Nomad 0.7.
    17  
    18  ## Usage
    19  
    20  ```plaintext
    21  nomad namespace inspect [options] <namespace_name>
    22  ```
    23  
    24  If ACLs are enabled, this command requires a management ACL token or a token
    25  that has a capability associated with the namespace.
    26  
    27  ## General Options
    28  
    29  @include 'general_options_no_namespace.mdx'
    30  
    31  ## Inspect Options
    32  
    33  - `-t` : Format and display the namespace using a Go template.
    34  
    35  ## Examples
    36  
    37  Inspect a namespace:
    38  
    39  ```shell-session
    40  $ nomad namespace inspect default
    41  {
    42      "CreateIndex": 5,
    43      "Description": "Default shared namespace",
    44      "ModifyIndex": 38,
    45      "Name": "default",
    46      "Quota": "shared-default-quota"
    47  }
    48  ```