Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Chris Aubuchon edited this page Feb 5, 2016 · 3 revisions

Consul /status endpoint

Subcommand Synopsis
leader Get the current Raft leader
[peers (#peers)

leader

API Reference

Get the current raft leader

Basic Usage

Usage: consul-cli status leader [options]

Examples

$ ./consul-cli status leader
10.0.2.15:8300

peers

API Reference

Get current Raft peer set

Basic Usage

Usage: consul-cli status peers [options]

Examples

$ ./consul-cli status peers 
10.0.2.15:8300
Clone this wiki locally