How to update TKGI compute profiles to reflect vCenter Datacenter name change
search cancel

How to update TKGI compute profiles to reflect vCenter Datacenter name change

book

Article ID: 406412

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

This article outlines how to update TKGI clusters compute profiles after changing the vCenter Datacenter name.

Environment

TKGI on vSphere

Resolution

If a compute profile is in use by clusters, you would need to create a new compute profile with the new datacenter name and update cluster using that profile.

  1. Rename the Datacenter name on vCenter.
  2. Create a new Compute profile with the new datacenter name configured in your compute profile json file.
    tkgi create-compute-profile <new-profile-name>  <compute-profile-config-json-file>
  3. Verify profile creation. 
    tkgi compute-profiles
  4. Update TKGI cluster to use the new profile.
    tkgi update-cluster <cluster-name> --compute-profile <new-profile-name>
  5. You now have a new cluster with the update datacenter name. Migrate all workloads from the old cluster to the new one.

Additional Information

For updating the Datacenter name in the TKGI configuration, please see here:

https://knowledge.broadcom.com/external/article/404868/how-to-update-tkgi-configuration-to-refl.html