Background: After detaching a Tanzu Workload cluster in TMC (Tanzu Mission Control), vmware-system-tmc namespace is still left in the workload cluster
Quick Commands to complete the cleanup:
kubectl delete crd extensions.clusters.tmc.cloud.vmware.com
kubectl delete crd agents.clusters.tmc.cloud.vmware.com
kubectl delete clusterrole extension-updater-clusterrole extension-manager-role agent-updater-role
kubectl delete clusterrolebinding extension-updater-clusterrolebinding extension-manager-rolebinding agent-updater-rolebinding
kubectl delete namespace vmware-system-tmc
Hello,
what if I should delete all the TMC agents manually? Without using the detach from the web dashboard.
Thank you