dcos node

Displaying DC/OS node information

WARNING: Use of the dcos node command for listing nodes is deprecated from DC/OS 1.13 onward. To list dcos nodes, use the dcos node list command instead.

Description

The dcos node commands allow you to view DC/OS node information.

Usage

  1. dcos node [OPTION]

Options

NameDescription
—help, hDisplays usage.
—infoDisplays a short description of this subcommand.
—jsonDisplays JSON-formatted data.
—versionDisplays version information.

Example

  1. dcos node
  2. Getting the list of nodes from `dcos node` is deprecated. Please use `dcos node list`.
  3. HOSTNAME IP PUBLIC IP(S) ID TYPE REGION ZONE
  4. 10.0.2.221 10.0.2.221 213.61.89.166 02b1bdc8-2bac-44a0-81ff-65816936b97b-S1 agent aws/us-west-2 aws/us-west-2a
  5. 10.0.5.54 10.0.5.54 213.61.89.167 02b1bdc8-2bac-44a0-81ff-65816936b97b-S0 agent (public) aws/us-west-2 aws/us-west-2a
  6. master.mesos. 10.0.6.122 213.61.89.168 02b1bdc8-2bac-44a0-81ff-65816936b97b master (leader) aws/us-west-2 aws/us-west-2a

Commands

dcos node deactivate

Deactivating a DC/OS node

dcos node decommission

Decommissioning a DC/OS node

dcos node reactivate

Reactivating a DC/OS node

dcos node diagnostics

Displaying the details of diagnostics bundles

dcos node diagnostics create

Creating a diagnostics bundle

dcos node diagnostics delete

Displaying the details of diagnostics bundles

dcos node diagnostics download

Downloading the diagnostics bundle

dcos node dns

Viewing DC/OS node information

dcos node drain

Draining an agent so that its tasks get rescheduled

dcos node list

Displaying DC/OS node information

dcos node list-components

Displaying the available DC/OS components on a specified node

dcos node log

Displaying Mesos logs for nodes

dcos node metrics details

Displaying the details of Mesos agent nodes

dcos node metrics summary

Summarizing the details of Mesos agent nodes

dcos node ssh

Establishing an SSH connection to master or agent nodes