As a cluster administrator, you can register a Tanzu Kubernetes Grid management cluster that is running in vSphere, with your Tanzu Mission Control organization.
Prerequisites
This procedure assumes that you have already started the registration process in Tanzu Mission Control as described in Register a Management Cluster with Tanzu Mission Control, and that you have a Tanzu Kubernetes Grid management cluster that satisfies the minimum requirements, as described in Requirements for Registering a Tanzu Kubernetes Cluster with Tanzu Mission Control in VMware Tanzu Mission Control Concepts.
- To register a management cluster with Tanzu Mission Control, you must have admin permissions on the cluster.
Procedure
- ♦ Use the generated YAML manifest in a
kubectl applycommand to register the cluster.- In a command window, connect to the management cluster with
kubectl.Make sure your current context is set appropriately for the management cluster you want to register, and not one of its workload clusters. - Run a
kubectl applycommand like the following to start the installation.Make sure you use the URL provided by Tanzu Mission Control, and that it is enclosed in quotes.kubectl apply -f "https://my-org.tmc.cloud.vmware.com/installer?id=verylonginstallerid&source=registration"
- In a command window, connect to the management cluster with
Results
When you run the appropriate command, a namespace called vmware-system-tmc is created, and then the Tanzu Mission Control cluster agent is installed on the management cluster. The installation process may take a few minutes.
When the installation is complete, your management cluster is registered with Tanzu Mission Control. You can return to the Tanzu Mission Control console and view the registered cluster on the Management clusters tab of the Administration page. It might take a few minutes for Tanzu Mission Control to start receiving health information from the management cluster.