How do you restrict access to a public AKS API server?
IntermediateConceptAKS and ACR
Answer
Authorized IP ranges limit which source IPs can reach the API server:
az aks update -g rg -n aks --api-server-authorized-ip-ranges 203.0.113.0/24,198.51.100.10/32
Combine with Entra-only auth (--disable-local-accounts) and Azure RBAC. Remember the cluster's egress IP if workloads call the API server via its public FQDN, and that GitHub-hosted runners have changing IPs (use self-hosted or private agents, or command invoke).
More on AKS and ACR
What does Microsoft manage in AKS and what do you manage?BeginnerWhat is the difference between system and user node pools?BeginnerCompare the AKS networking options: kubenet, Azure CNI, Azure CNI Overlay, Azure CNI Powered by Cilium.AdvancedHow many IPs does an AKS subnet need with flat Azure CNI vs Overlay?AdvancedWhat are the AKS tiers (Free, Standard, Premium)?IntermediateHow do AKS Kubernetes version upgrades work?Intermediate