Symptoms:
When trying to use the
TKG tanzu commands on vSphere with Tanzu versions 1.17 or 1.18 to create a new guest cluster, you receive an error similar to.
ubuntu@cli-vm:~$ tanzu cluster create my-cluster --tkr=v1.17.8---vmware.1-tkg.1.5417466
WARNING: TanzuKubernetesRelease "v1.17.8---vmware.1-tkg.1.5417466" is not compatible on the management clusterYou are trying to create a cluster with kubernetes version '1.17.8+vmware.1-tkg.1.5417466' on vSphere with Tanzu, Please make sure virtual machine image for the same is available in the cluster content library.
Do you want to continue? [y/N]: y
Validating configuration...
Workload cluster 'my-cluster' created