To use kubectl and tmc
(the Tanzu Mission Control CLI) with a provisioned cluster, download the generated configuration file and initialize the connection.
After you have attached or provisioned a new cluster using Tanzu Mission Control, you can connect to it with kubectl using the configuration file that Tanzu Mission Control generates for you.
Note:
Tanzu Mission Control supports kubeconfig access to the following types of attached public cloud clusters:
- Amazon Elastic Kubernetes Service (EKS)
- Azure Kubernetes Service (AKS)
- Google Kubernetes Engine (GKE)
For more information, see Enable Access to Public Cloud Clusters Through Tanzu Mission Control.
Prerequisites
This procedure assumes that you have a managed cluster, either attached or provisioned, and that you have already performed the following tasks:
- Install the Kubernetes command-line interface (kubectl).
- Open a browser window, and log in to the Tanzu Mission Control console.
- Open a command window, and log in with the Tanzu Mission Control CLI.