I have a trouble with enabling --api-server-authorized-ip-ranges
feature, let me describe my case:
az aks update --resource-group test-aks-service-rg -n test-aksCluster --api-server-authorized-ip-ranges 1.2.3.4/32
I got a result that ip address has been successfully added as allowed for API.
Error from server ... dail tcp ... i/o timeout.
What is wrong with my configuration? How to properly add auth ip ranges?
Note: I verified that my ip outbound address is 1.2.3.4
It was my fault, I have missed important thing in Microsoft documentation. An answer is here:
https://docs.microsoft.com/bs-cyrl-ba/azure/aks/api-server-authorized-ip-ranges
I forgot to add firewall public ip addresses into auth ip ranges list.
The following addresses must be in the list, to get it work: