This KB is intended to identify if a vSphere Kubernetes Cluster, also known as a Tanzu Kubernetes Cluster (TKC), is undergoing migration.
It will also advise against certain actions such as performing changes or upgrades to the migrating cluster.
Migration of all vSphere Kubernetes Clusters in a Supervisor cluster occurs after initiating an upgrade of the environment from vSphere 7.X to vSphere 8.X.
Environment that is upgrading from vSphere 7.X to vSphere 8.X
This issue can occur regardless of whether the affected migrating cluster is managed by Tanzu Mission Control (TMC)
Upgrades from vSphere 7 to vSphere 8 undergo an automatic migration of wcp objects into vsphere objects, and virtualmachineimages into clustervirtualmachineimages (cvmi).
The associated components are updated to reference the newly created objects for migration.
Documentation: "Upgrading from any vCenter Server release to any vCenter Server 8.x release"
Upgrades from vSphere 7 to vSphere 8 undergo an automatic migration of wcp objects into vsphere objects and virtualmachineimages into clustervirtualmachineimages (cvmi).
Please see the below for steps on how to identify a cluster that has not yet finished its migration.
kubectl get tkc -o yaml -n <cluster namespace> | grep "migrate-tkc"
kubectl get wcpcluster,wcpmachine,wcpmachinetemplate -n <cluster namespace>
kubectl get vspherecluster,vspheremachine,vspheremachinetemplate -n <cluster namespace>
kubectl get virtualmachineimages -A
kubectl get cvmi -A