Attach an existing cluster to your organization using the Tanzu Mission Control console.

To attach a cluster you run a set of extensions on the cluster and register it with a cluster group in Tanzu Mission Control.

Prerequisites

You use both the Tanzu Mission Control console and the Kubernetes CLI to attach a cluster.
  • Open a browser and log in to the Tanzu Mission Control console.
  • Open a command window and connect to your cluster with kubectl.
Make sure you have the appropriate permissions.
  • To attach a cluster, you must be associated with the clustergroup.edit role on the cluster group in which you want to attach the cluster.
  • On the cluster, you must have admin permissions to install and run the cluster agent extensions.

If you have a proxy server that manages outbound traffic for your clusters, you need to add some URLs to the proxy allowlist to enable the cluster to communicate with Tanzu Mission Control. For more information, see What Happens When You Attach a Cluster in VMware Tanzu Mission Control Concepts.

Procedure

  1. In the left navigation pane of the Tanzu Mission Control console, click Clusters.
  2. On the Clusters page, click Attach Cluster.
  3. Select the cluster group in which you want to register the cluster, and enter a name for the cluster.
    This name appears in the list of clusters on the Cluster page.
    You can optionally provide a description and one or more labels.
  4. Click Register.
    When you click Register, Tanzu Mission Control generates a YAML manifest specifically for your cluster, and displays the kubectl command to run the script.
  5. Copy the kubectl command from the text box in your console.
  6. Run the command in your kubectl command window.
    The YAML manifest runs a set of extensions in your cluster to connect it with the Tanzu Mission Control cluster agent service. Be aware of the following:
    • The generated YAML manifest is specifically tailored to your cluster and cannot be used for other clusters.
    • The manifest contains credentials that permit the cluster to attach to the cluster agent service. These credentials are valid for 48 hours. If you attempt to install the agent extensions after the credentials lapse, the attachment fails and your cluster remains indefinitely in Pending status in the Tanzu Mission Control console.
  7. After the extensions are up and running in your cluster, return to the Tanzu Mission Control console and click Verify Connection.
    After you click Verify Connection, you can see the cluster on the Clusters page. The cluster shows a Pending status until the verification is complete, and then changes to Ready.

Results

After the connection is verified, the cluster is attached and you can manage it using Tanzu Mission Control.