Dear Ekambaram,
Thank you for your question here at Q&A Portal. To deploy AKS in a private subnet without internet access while allowing specific public IPs, you can use Azure Private Clusters with restricted egress traffic. For CoreDNS and kube-proxy dependencies, Microsoft recommends using Azure Firewall with FQDN tags or service tags to dynamically manage required endpoints instead of hardcoding IPs.
Private AKS Deployment: Follow Microsoft’s guide for private clusters.
Egress Control: Use Azure Firewall with the AzureKubernetesService
FQDN tag (see documentation).
Specific Public IP Access: Configure your NSG/load balancer to allow ingress only from your desired IPs (details here).
For CoreDNS/kube-proxy, avoid IP-based rules—leverage service tags (e.g., AzureContainerRegistry
) or managed FQDNs to ensure stability.
Let me know if you need further clarification!
Best regards,
Alex
PS If my answer help to you, please Accept my answer.
PPS .that is my answer and it is not a comment :)