30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
Manage DCOS nodes
|
|
|
|
Usage:
|
|
dcos node --info
|
|
dcos node [--json]
|
|
dcos node log [--follow --lines=N --master --slave=<slave-id>]
|
|
dcos node ssh [--option SSHOPT=VAL ...]
|
|
[--config-file=<path>]
|
|
[--user=<user>]
|
|
[--master-proxy]
|
|
(--master | --slave=<slave-id>)
|
|
|
|
Options:
|
|
-h, --help Show this screen
|
|
--info Show a short description of this subcommand
|
|
--json Print json-formatted nodes
|
|
--follow Print data as the file grows
|
|
--lines=N Print the last N lines [default: 10]
|
|
--master Access the leading master
|
|
--master-proxy Proxy the SSH connection through a master node. This can be useful when
|
|
accessing DCOS from a separate network. For example, in the default AWS
|
|
configuration, the private slaves are unreachable from the public
|
|
internet. You can access them using this option, which will first hop
|
|
from the publicly available master.
|
|
--slave=<slave-id> Access the slave with the provided ID
|
|
--option SSHOPT=VAL SSH option (see `man ssh_config`)
|
|
--config-file=<path> Path to SSH config file
|
|
--user=<user> SSH user [default: core]
|
|
--version Show version
|