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

     1  ---
     2  layout: docs
     3  page_title: 'Commands: server force-leave'
     4  sidebar_title: force-leave
     5  description: >
     6    The server force-leave command is used to force a server into the "left"
     7    state.
     8  ---
     9  
    10  # Command: server force-leave
    11  
    12  The `server force-leave` command forces a server to enter the "left" state.
    13  This can be used to eject server nodes which have failed and will not rejoin
    14  the cluster. Note that if the server is actually still alive, it will
    15  eventually rejoin the cluster again.
    16  
    17  ## Usage
    18  
    19  ```plaintext
    20  nomad server force-leave [options] <node>
    21  ```
    22  
    23  This command expects only one argument - the node which should be forced
    24  to enter the "left" state.
    25  
    26  ## General Options
    27  
    28  @include 'general_options.mdx'
    29  
    30  ## Examples
    31  
    32  Force-leave the server "node1":
    33  
    34  ```shell-sessionnomad server force-leave node1
    35  
    36  ```