dcos cluster link

ENTERPRISE

Linking a connected cluster to another cluster

Description

The dcos cluster link command lets you configure uni-directional links from a cluster to one or more clusters. When accessing a cluster you can view the clusters linked to it. You can attach to a linked cluster without needing to run dcos cluster setup beforehand.

Prerequisites

  • The dcos cluster setup command you used to set up the clusters to be linked must specify the same authentication provider.

Usage

  1. dcos cluster link <cluster> [flags]

If the cluster links successfully there is no output to the console.

Options

NameDescription
—ca-certs stringSpecify the path to a file with trusted CAs to verify requests against.
-h, —helpDisplays help for link.
—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.

Positional Arguments

NameDescription
<cluster>A URL or IP address to an accessible master node. (Required)

Examples

For examples, see Cluster Links.

Parent command

CommandDescription
dcos clusterManage DC/OS clusters.