One of the common reasons that the cluster is stuck is that the AKO’s finalizer is blocking the cluster from being deleted. This could happen for many causes:
1) AKO is not deployed successfully
2) AKO is not running correctly
The symptom is that the cluster object has the below condition set to false `AviResourceCleanupSucceededCondition`.
kubectl get <cluster name> -n <namespace> -oyaml
This finalizer is added intentionally because the cluster deletion should not succeed if there are stale resources left for this cluster.
If that cluster needs to be deleted then here is the procedure: