-
Create a new temporary LB in the same RG as the AKS LB (templb)
-
Create an empty backendpool on this LB (temppool)
-
Run
RG=MC_rg-k8s-test_k8s-test_westeurope
az vmss update --resource-group $RG --name aks-agentpool-33436152-vmss \
--remove virtualMachineProfile.networkProfile.networkInterfaceConfigurations[0].ipConfigurations[0].loadBalancerBackendAddressPools 0
This will remove the vmss from the outbound pool on the AKS LB