Tanzu CLI is a command-line utility that helps to interact with Tanzu Kubernetes Clusters. This is not a replacement of kubectl, this is complimentary. I have found tanzu cli very useful when working with TKGm clusters provisioning and lifecycle management.
VMware provides multiple plugins for Tanzu cli to perform different operations, You can use below command to validate the installed plugins.

Here are some of the handy commands that i think you will need either during building the TKGm Clusters or their lifecycle management.

Top 10 Tanzu Commands

Below commands will work for TKGm clusters. for vSphere with Tanzu, mostly kubectl is used and i will write a separate post.

  1. Create Tanzu Management Cluster using UI and CLI

2. View the list of management clusters

3. Login to Tanzu Management Cluster. By default, it picks up the cluster from default kubeconfig file. You can specify different options with login command.

4. Create Tanzu Workload Clusters

5. List Tanzu workload clusters

If you have deployed workload clusters on different namespaces and want to filter one those, run below command

6. Scaling worker nodes in a Tanzu workload cluster

7. Upgrading workload cluster: You may need to upgrade k8s version on workload cluster and provide required version for application testing.

In case you want to upgrade to specific release version, first run the below command and see the available releases.

8. Export admin kubeconfig file and access management cluster from other system

9. Register Tanzu management cluster with Tanzu Mission Control (TMC)

10. Finally, Deleting Tanzu Clusters

Based on my experience, i have been using above commands frequently, But, there are many more commands that you can find them here:

Thanks for your time here, Will come with many more informational posts on Tanzu portfolio.

Learn VMware Tanzu Portfolio and Application Modernization using Tanzu quickly and easily.