github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/plugin/status.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: plugin status'
     4  sidebar_title: status
     5  description: |
     6    Display information and status of plugins.
     7  ---
     8  
     9  # Command: plugin status
    10  
    11  The `plugin status` command displays status information for [Container
    12  Storage Interface (CSI)][csi] plugins.
    13  
    14  ## Usage
    15  
    16  ```plaintext
    17  nomad plugin status [options] [plugin]
    18  ```
    19  
    20  This command accepts an optional plugin ID or prefix as the sole argument. If there
    21  is an exact match based on the provided plugin ID or prefix, then information about
    22  the specific plugin is queried and displayed. Otherwise, a list of matching plugins
    23  and information will be displayed.
    24  
    25  If the ID is omitted, the command lists out all of the existing plugins and a few
    26  of the most useful status fields for each.
    27  
    28  If ACLs are enabled, this command requires a token with the `plugin:read`
    29  capability.
    30  
    31  ## General Options
    32  
    33  @include 'general_options_no_namespace.mdx'
    34  
    35  ## Status Options
    36  
    37  - `-type`: Display only plugins of a particular type. Currently only
    38    the `csi` type is supported, so this option can be omitted when
    39    querying the status of CSI plugins.
    40  
    41  - `-short`: Display short output. Used only when a single plugin is being queried.
    42    Drops verbose plugin allocation data from the output.
    43  
    44  - `-verbose`: Show full information. Allocation create and modify times are
    45    shown in `yyyy/mm/dd hh:mm:ss` format.
    46  
    47  ## Examples
    48  
    49  List of all plugins:
    50  
    51  ```shell-session
    52  $ nomad plugin [-type csi] status
    53  ID         Provider  Controllers Healthy / Expected  Nodes Healthy / Expected
    54  ebs-prod   aws.ebs   1 / 1                           1 / 1
    55  ```
    56  
    57  Short view of a specific plugin:
    58  
    59  ```shell-session
    60  $ nomad plugin [-type csi] status ebs-prod
    61  ID                   = ebs-prod
    62  Provider             = aws.ebs
    63  Version              = 1.0.1
    64  Controllers Healthy  = 1
    65  Controllers Expected = 1
    66  Nodes Healthy        = 1
    67  Nodes Expected       = 1
    68  ```
    69  
    70  Full status information of a plugin:
    71  
    72  ```shell-session
    73  $ nomad plugin [-type csi] status ebs-prod
    74  ID                   = ebs-prod
    75  Provider             = aws.ebs
    76  Version              = 1.0.1
    77  Controllers Healthy  = 1
    78  Controllers Expected = 1
    79  Nodes Healthy        = 1
    80  Nodes Expected       = 1
    81  
    82  Allocations
    83  ID        Node ID   Task Group  Version  Desired  Status    Created    Modified
    84  0de05689  95303afc  csi         0        run      running  1m57s ago  1m19s ago
    85  b206088c  8bf94335  csi         0        run      running  1m56s ago  1m19s ago
    86  ```
    87  
    88  [csi]: https://github.com/container-storage-interface/spec