1. tanzu kubernetes-release get

Get available Tanzu Kubernetes Releases

root@topgun01 [ ~ ]# tanzu kubernetes-release get
  NAME                             VERSION                        COMPATIBLE  UPGRADEAVAILABLE  
  v1.17.16---vmware.2-tkg.1        v1.17.16+vmware.2-tkg.1        False       True              
  v1.17.16---vmware.2-tkg.2        v1.17.16+vmware.2-tkg.2        False       True              
  v1.17.16---vmware.3-tkg.1        v1.17.16+vmware.3-tkg.1        True        True              
  v1.18.16---vmware.1-tkg.1        v1.18.16+vmware.1-tkg.1        False       True                  
...                        
  v1.20.4---vmware.1-tkg.2         v1.20.4+vmware.1-tkg.2         False       True              
  v1.20.4---vmware.3-tkg.1         v1.20.4+vmware.3-tkg.1         True        True              
  v1.20.5---vmware.1-tkg.1         v1.20.5+vmware.1-tkg.1         False       True              
  v1.20.5---vmware.2-fips.1-tkg.1  v1.20.5+vmware.2-fips.1-tkg.1  False       False             
  v1.20.5---vmware.2-tkg.1         v1.20.5+vmware.2-tkg.1         True        False

2. tanzu plugin list

List available plugins

root@topgun01 [ ~ ]# tanzu plugin list
  NAME                LATEST VERSION  DESCRIPTION                                                        REPOSITORY  VERSION  STATUS         
  alpha               v1.3.1          Alpha CLI commands                                                 core                 not installed  
  cluster             v1.3.1          Kubernetes cluster operations                                      core        v1.3.1   installed      
  kubernetes-release  v1.3.1          Kubernetes release operations                                      core        v1.3.1   installed      
  login               v1.3.1          Login to the platform                                              core        v1.3.1   installed      
  management-cluster  v1.3.1          Kubernetes management cluster operations                           core        v1.3.1   installed      
  pinniped-auth       v1.3.1          Pinniped authentication operations (usually not directly invoked)  core        v1.3.1   installed

3. tanzu kubernetes-release os get

Get the OS information for a Tanzu Kubernetes Release

root@topgun01 [ ~ ]# tanzu kubernetes-release os get v1.20.5---vmware.2-fips.1-tkg.1 
  NAME    VERSION  ARCH   
  photon  3        amd64  
  ubuntu  20.04    amd64

4. tanzu kubernetes-release available-upgrades get

Get upgrade information for a Tanzu Kubernetes Release

root@topgun01 [ ~ ]# tanzu kubernetes-release available-upgrades get v1.17.16---vmware.2-tkg.1 
  NAME                       VERSION                  
  v1.17.16---vmware.2-tkg.2  v1.17.16+vmware.2-tkg.2  
  v1.17.16---vmware.3-tkg.1  v1.17.16+vmware.3-tkg.1  
  v1.18.16---vmware.1-tkg.1  v1.18.16+vmware.1-tkg.1  
  v1.18.16---vmware.1-tkg.2  v1.18.16+vmware.1-tkg.2  
  v1.18.16---vmware.3-tkg.1  v1.18.16+vmware.3-tkg.1  
  v1.18.17---vmware.1-tkg.1  v1.18.17+vmware.1-tkg.1  
  v1.18.17---vmware.2-tkg.1  v1.18.17+vmware.2-tkg.1

5. tanzu cluster list

List workload cluster

root@topgun01 [ ~ ]# tanzu cluster list
  NAME                  NAMESPACE  STATUS   CONTROLPLANE  WORKERS  KUBERNETES        ROLES   PLAN  
  tkg-vmc-workload-c01  default    running  1/1           3/3      v1.20.5+vmware.1  <none>  dev   
  tkg-vmc-workload-c03  default    running  1/1           3/3      v1.20.5+vmware.1  <none>  prod

6. tanzu cluster list --include-management-cluster

List all clusters including management cluster

root@topgun01 [ ~ ]# tanzu cluster list --include-management-cluster
  NAME                  NAMESPACE   STATUS   CONTROLPLANE  WORKERS  KUBERNETES        ROLES       PLAN  
  tkg-vmc-workload-c01  default     running  1/1           3/3      v1.20.5+vmware.1  <none>      dev   
  tkg-vmc-workload-c03  default     running  1/1           3/3      v1.20.5+vmware.1  <none>      prod  
  tkg-vmc-mgmt-c01      tkg-system  running  3/3           1/1      v1.20.5+vmware.1  management  prod

7. tanzu cluster create -f <cluster-yaml-file> --tkr <release-name>

Create a cluster with specific release