mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
website: update maintenance mode endpoint
This commit is contained in:
parent
f247ec0551
commit
f4f9b5c94b
@ -20,7 +20,7 @@ The following endpoints are supported:
|
|||||||
* [`/v1/agent/services`](#agent_services) : Returns the services local agent is managing
|
* [`/v1/agent/services`](#agent_services) : Returns the services local agent is managing
|
||||||
* [`/v1/agent/members`](#agent_members) : Returns the members as seen by the local serf agent
|
* [`/v1/agent/members`](#agent_members) : Returns the members as seen by the local serf agent
|
||||||
* [`/v1/agent/self`](#agent_self) : Returns the local node configuration
|
* [`/v1/agent/self`](#agent_self) : Returns the local node configuration
|
||||||
* [`/v1/agent/self/maintenance`](#agent_self_maintenance) : Node maintenance mode
|
* [`/v1/agent/maintenance`](#agent_maintenance) : Node maintenance mode
|
||||||
* [`/v1/agent/join/<address>`](#agent_join) : Trigger local agent to join a node
|
* [`/v1/agent/join/<address>`](#agent_join) : Trigger local agent to join a node
|
||||||
* [`/v1/agent/force-leave/<node>`](#agent_force_leave)>: Force remove node
|
* [`/v1/agent/force-leave/<node>`](#agent_force_leave)>: Force remove node
|
||||||
* [`/v1/agent/check/register`](#agent_check_register) : Registers a new local check
|
* [`/v1/agent/check/register`](#agent_check_register) : Registers a new local check
|
||||||
@ -185,7 +185,7 @@ It returns a JSON body like this:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### <a name="agent_self_maintenance"></a> /v1/agent/self/maintenance
|
### <a name="agent_maintenance"></a> /v1/agent/maintenance
|
||||||
|
|
||||||
The node maintenance endpoint allows placing the agent into "maintenance mode".
|
The node maintenance endpoint allows placing the agent into "maintenance mode".
|
||||||
During maintenance mode, the node will be marked as unavailable, and will not be
|
During maintenance mode, the node will be marked as unavailable, and will not be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user