cluster.maintenance_mode?

cluster.maintenance_mode?

Retrieves whether or not the cluster is in maintenance mode. When a value of true is returned, the cluster is in maintenance mode. This is also encapsulated in the rvc cluster.status response.

JSON-RPC Request

{"jsonrpc":"2.0","id":1,"method":"cluster.maintenance_mode?"}

JSON-RPC Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": false
}

CLI Example

rvc cluster maintenance-mode?

Response

false