az aks get-credentials should not point to privatelink dns zone
See original GitHub issueDescribe the bug
az aks get-credentials
generate an entry on ~/.kube/config
pointing to privatelink via private zone.
Example:
https://my-aks-cluster-my-aks-cluster-a12345-a1234567.privatelink.<region>.azmk8s.io:443
name: my-aks-cluster
The correct address should be:
https://my-aks-cluster-my-aks-cluster-a12345-a1234567.hcp.<region>azmk8s.io
If I’m understanding this wrongly, maybe the documentation on https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-dns#on-premises-workloads-using-a-dns-forwarder should be updated.
Environment Summary
macOS-11.6.3-x86_64-i386-64bit, Darwin 20.6.0
Python 3.10.2
Installer: HOMEBREW
azure-cli 2.32.0 *
Extensions:
azure-devops 0.23.0
ssh 1.0.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
Additional Context
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Not resolving private dns zone over point to site VPN ...
az aks get-credentials creates the required credentials on my local laptop BUT it refernces the DNS Name of the Api Server, not the...
Read more >Accessing a Private AKS Cluster with Additional Private ...
When creating an AKS cluster, you have the option to make it a private cluster. When you do this, it means the managed...
Read more >Private Azure Kubernetes Service DNS Options - YouTube
In this video, we look at DNS options for private AKS clusters. There are several options available. In this video, we look at...
Read more >Securing AKS & ACR with Private Endpoint [1/2] - YouTube
Video part 2/2: https://www.youtube.com/watch?v=0OzMJyyvgWs&list=PLpbcUe4chE79sB7Jg7B4z3HytqUUEwcNE&index=51Article part 1/2: ...
Read more >Azure Hybrid DNS Architecture - IT Insights Blog
Azure Private DNS zones can be used to resolve names to a specific ... for the zone that points to CoreDNS running on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
—public-fqdn
gives me the public zone. Thank you.@weltonrodrigo No problem. Thanks. We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.