Hi,
I am desperately trying to delete a load balancer. It was connected to an AKS cluster which no longer exists.
When I try to delete it, I get the following error message:
Failed to delete load balancer 'kubernetes'. Error: Cannot delete load balancer MC_thankfuldune-c1515963-rg_thankfuldune-c1515963_westeurope/providers/Microsoft.Network/loadBalancers/kubernetes'>kubernetes since its child resources kubernetes,aksOutboundBackendPool,gfadgad are in use by virtual machine scale set /subscriptions/xxxx-xxxx/resourceGroups/MC_thankfuldune-c1515963-rg_thankfuldune-c1515963_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-systempool-27307886-vmss.
However, the reported vmss no longer exists.
Does anyone have an idea how to get rid of the load balancer? Deleting the entire RG did not work either.
thanks
Manuel
PS. I cannot delete the backend pools. Because according to the error message, they are used by the machine scale set, which no longer exists.
Failed to delete load balancer backend pool
Failed to delete load balancer backend pool 'aksOutboundBackendPool'. Error: Cannot remove backend address pool aksOutboundBackendPool from load balancer since it is in use by virtual machine scale set /subscriptions/xxxx-xxxx/resourceGroups/MC_thankfuldune-c1515963-rg_thankfuldune-c1515963_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-systempool-27307886-vmss.