Hi, I've tried to delete a TKG cluster with:
tanzu cluster delete tkg-demo
but the cluster is never deleted.
What can I check?
The reason for this is a bug in 1.5.1 version. Sometimes when you execute the delete command, the AKO secret is deleted before the objects on NSX Advanced Load Balancer so it cannot delete the objects. So it hangs on "deleting".
Can you describe the machinedeployment?
$kubectl get md
$kubectl describe <NAME-OF-MD>
The machinedeployment object is part of the managment cluster so you will need to use the managment cluster context.
https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.5/vmware-tanzu-kubernetes-grid-15/GUID-mgm...
Cluster delete is stuck in Deleting state.
The reason for this is a bug in 1.5.1 version. Sometimes when you execute the delete command, the AKO secret is deleted before the objects on NSX Advanced Load Balancer so it cannot delete the objects. So it hangs on "deleting".
Thanks for sharing.
It seems that we are affected by this bug.
How we can get this cluster deleted?