dcos cluster setup

Configuring a connection to a DC/OS 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.

Usage

dcos cluster setup <dcos-url> [OPTIONS]

Options

Name, shorthand Default Description
--ca-certs=<ca-certs> Enterprise The path to a file with trusted CAs to verify requests against.
--insecure Allow requests to bypass TLS certificate verification. This is insecure.
--no-check Enterprise Do not check the CA certificate downloaded from the cluster. This is insecure.
--password-file=<password_file> The path to a file that contains the password for login.
--password=<password> The password for login on the command line. This is insecure.
--private-key=<key_path> The path to a file that contains the private key.
--provider=<provider_id> Enterprise The authentication provider to use for login.
--username=<username> The username for login.
--name=<name> Specify a custom name for the cluster.
--no-plugin Do not auto-install dcos-core-cli and dcos-enterprise-cli plugins.

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

Name, shorthand Description
<dcos-url> A URL or IP address to an accessible master node.

Environment variables

DCOS_USERNAME

Specify the username for login. When set, the --username flag takes precedence over this environment variable.

DCOS_PASSWORD

Specify the password for login. When set, the password flags take precedence over this environment variable.

Parent command

Command Description
dcos cluster Manage DC/OS clusters.

Examples

For examples, see Cluster Connections.