open-nomad/website/pages/docs/commands/server/force-leave.mdx
Jeff Escalante 6c8f079d24
new website
2020-02-06 18:45:31 -05:00

37 lines
798 B
Plaintext

---
layout: docs
page_title: 'Commands: server force-leave'
sidebar_title: force-leave
description: >
The server force-leave command is used to force a server into the "left"
state.
---
# Command: server force-leave
The `server force-leave` command forces a server to enter the "left" state.
This can be used to eject server nodes which have failed and will not rejoin
the cluster. Note that if the server is actually still alive, it will
eventually rejoin the cluster again.
## Usage
```plaintext
nomad server force-leave [options] <node>
```
This command expects only one argument - the node which should be forced
to enter the "left" state.
## General Options
@include 'general_options.mdx'
## Examples
Force-leave the server "node1":
```shell
$ nomad server force-leave node1
```