leader-get
¶
Summary¶
Print application leadership settings.
Usage¶
leader-get [options] [<key>]
Options¶
Flag |
Default |
Usage |
---|---|---|
|
smart |
Specify output format (json|smart|yaml) |
|
Specify an output file |
Examples¶
ADDRESSS=$(leader-get cluster-leader-address)
Details¶
leader-get prints the value of a leadership setting specified by key. If no key is given, or if the key is “-”, all keys and values will be printed.