Help with Creating a Private AKS Cluster Due to DNS Issues

0
1
Asked By CloudyTraveler92 On

Hey everyone, I'm having trouble building a private Azure Kubernetes Service (AKS) cluster because of outbound DNS resolution problems. I've set up a User Defined Route (UDR) from the AKS subnet to the internet, but once I create the private cluster, it can't seem to utilize my virtual network's DNS for outbound browsing. Does anyone have suggestions on what I might be missing here?

2 Answers

Answered By TechGuru99 On

It sounds like the part where you mentioned "can’t use my VNet DNS to browse out" is key. When you're working with a private AKS and a UDR, issues usually crop up if something in the bootstrap path fails to resolve properly. Are you forwarding to the IP 168.63.129.16 anywhere, or is everything tracked to your own DNS servers?

Answered By DevNinja12 On

It seems like your AKS might be operating on an internal overlay virtual network that's separate from where your host resides. Are you using the overlay Container Network Interface (CNI), or is that necessary for you? It could be worthwhile to check if you can switch to another configuration where the AKS pods and nodes share a subnet with the host's virtual network. I think the missing piece here could be the bridge that connects your AKS subnet to the host's virtual network, managed by the kube-proxy running on each node. Not sure if that's editable, but that could be the trick.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.