dcos cluster setup

Configuring the CLI to communicate with a cluster

Description

The dcos cluster setup command will configure the connection to a DC/OS cluster, authenticate to DC/OS, and attach to the cluster.

It will also automatically install the Core and Enterprise CLI plugins.

Usage

  1. dcos cluster setup <url> [flags]

Options

NameDescription
—ca-certs stringSpecify the path to a file with trusted CAs to verify requests against.
-h, —helpDisplays help for this command.
—insecureAllow requests to bypass TLS certificate verification (insecure).
—name stringSpecify a custom name for the cluster.
—no-checkDo not check CA certficate downloaded from cluster (insecure). Applies to Enterprise DC/OS only. Enterprise
—password stringSpecify the password on the command line (insecure).
—password-file stringSpecify the path to a file that contains the password.
—private-key stringSpecify the path to a file that contains the service account private key.
—provider stringSpecify the login provider to use.
—username stringSpecify the username for login.

TLS options

If you do not specify one of the SSL options --insecure, --no-check, or --ca-certs, the CA certificate is downloaded from the cluster and a sha256 fingerprint of the certificate is presented for verification.

Positional arguments

NameDescription
<url>A URL or IP address to an accessible master node

Examples

For examples, see Cluster Connections.

Parent command

CommandDescription
dcos clusterManage DC/OS clusters.