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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: deployment resume'
     4  description: |
     5    The deployment resume command is used to resume a paused deployment.
     6  ---
     7  
     8  # Command: deployment resume
     9  
    10  The `deployment resume` command is used to unpause a paused deployment.
    11  Resuming a deployment will resume the placement of new allocations as part of
    12  rolling deployment.
    13  
    14  ## Usage
    15  
    16  ```plaintext
    17  nomad deployment resume [options] <deployment id>
    18  ```
    19  
    20  The `deployment resume` command requires a single argument, a deployment ID or
    21  prefix.
    22  
    23  When ACLs are enabled, this command requires a token with the `submit-job`
    24  and `read-job` capabilities for the deployment's namespace.
    25  
    26  ## General Options
    27  
    28  @include 'general_options.mdx'
    29  
    30  ## Resume Options
    31  
    32  - `-detach`: Return immediately instead of monitoring. A new evaluation ID
    33    will be output, which can be used to examine the evaluation using the
    34    [eval status] command
    35  
    36  - `-verbose`: Show full information.
    37  
    38  ## Examples
    39  
    40  Manually resume a deployment:
    41  
    42  ```shell-session
    43  $ nomad deployment resume c848972e
    44  Deployment "c848972e-dcd3-7354-e0d2-39d86642cdb1" resumed
    45  
    46  ==> Monitoring evaluation "5e266d42"
    47      Evaluation triggered by job "example"
    48      Evaluation within deployment: "c848972e"
    49      Allocation "00208424" created: node "6240eed6", group "web"
    50      Allocation "68c72edf" created: node "6240eed6", group "cache"
    51      Allocation "00208424" status changed: "pending" -> "running"
    52      Evaluation status changed: "pending" -> "complete"
    53  ==> Evaluation "5e266d42" finished with status "complete"
    54  ```
    55  
    56  [eval status]: /docs/commands/eval/status