github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/deployment/list.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: deployment list'
     4  sidebar_title: list
     5  description: |
     6    The deployment list command is used to list deployments.
     7  ---
     8  
     9  # Command: deployment list
    10  
    11  The `deployment list` command is used list all deployments.
    12  
    13  ## Usage
    14  
    15  ```plaintext
    16  nomad deployment list [options]
    17  ```
    18  
    19  The `deployment list` command requires no arguments.
    20  
    21  ## General Options
    22  
    23  @include 'general_options.mdx'
    24  
    25  ## List Options
    26  
    27  - `-json` : Output the deployments in their JSON format.
    28  - `-t` : Format and display the deployments using a Go template.
    29  - `-verbose`: Show full information.
    30  
    31  ## Examples
    32  
    33  List all tracked deployments:
    34  
    35  ```shell-sessionnomad deployment list
    36  ID        Job ID   Job Version  Status      Description
    37  8990cfbc  example  2            failed      Deployment marked as failed
    38  62eb607c  example  1            successful  Deployment completed successfully
    39  5f271fe2  example  0            successful  Deployment completed successfully
    40  ```