Connect to your provisioned cluster with kubectl.
After you have provisioned a cluster in your connected cloud provider account using VMware Tanzu Mission Control, you can connect to the cluster and run commands against it using the Tanzu Mission Control CLI (tmc) and kubectl. Tanzu Mission Control provides a kubeconfig file to enable this connection.
Prerequisites
To complete this procedure, you must first complete the following tasks:
- Log in to the Tanzu Mission Control console.
- Provision a cluster, as described in Provision a New Cluster.
- Install the Kubernetes command-line interface (kubectl).
- Open a command window.
Before you attempt to connect to a newly provisioned cluster, make sure it is up and running. After the provisioning and creating process is complete, the status is updated to Ready and the type shows that it is a Provisioned cluster in your cloud provider account.