github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/namespace/inspect.mdx (about)

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