43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
## australis fetch mesos leader
|
|
|
|
Fetch current Mesos-master leader given Zookeeper nodes.
|
|
|
|
### Synopsis
|
|
|
|
Gets the current leading Mesos-master instance using information from Zookeeper path.
|
|
Pass Zookeeper nodes separated by a space as an argument to this command. If no nodes are provided,
|
|
it fetches leader from local Mesos agent or Zookeeper
|
|
|
|
```
|
|
australis fetch mesos leader [zkNode0, zkNode1, ...zkNodeN] [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for leader
|
|
--zkPath string Zookeeper node path where mesos leader election happens (default "/mesos")
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
-a, --caCertsPath string Path where CA certificates can be found.
|
|
-c, --clientCert string Client certificate to use to connect to Aurora.
|
|
-k, --clientKey string Client key to use to connect to Aurora.
|
|
--config string Config file to use. (default "/etc/aurora/australis.yml")
|
|
-l, --logLevel string Set logging level [panic fatal error warning info debug trace]. (default "info")
|
|
-p, --password string Password to use for API authentication
|
|
-s, --scheduler_addr string Aurora Scheduler's address.
|
|
-i, --skipCertVerification Skip CA certificate hostname verification.
|
|
-t, --timeout duration Gorealis timeout. (default 20s)
|
|
--toJSON Print output in JSON format.
|
|
-u, --username string Username to use for API authentication
|
|
-z, --zookeeper string Zookeeper node(s) where Aurora stores information. (comma separated list)
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [australis fetch mesos](australis_fetch_mesos.md) - Fetch information from Mesos.
|
|
|
|
###### Auto generated by spf13/cobra on 8-Sep-2022
|