Closed lualvare closed 3 weeks ago
Hi, @lualvare! I had no issues updating the cluster using --private-dns-zone none
after connecting to the cluster using the az aks get-credentials
command. This step wasn't outlined in the article originally. I'd suggest trying to run the update command again after you connect to the cluster. I merged a PR with updates to the article that include the connect to cluster step. I'm going to go ahead and close out this issue for now. If you have any further issues, please feel free to respond in this thread or open up a new GitHub issue. Thank you! #please-close
@schaffererin, thanks for the reply.
I have these questions.
Thank you so much.
Type of issue
Code doesn't work
Feedback
Hello team, I have tested this feature of updating an existing Private cluster from --private-dns-zone=system to --private-dns-zone=none and this is NOT working.
The change happens at the AKS level as expected, however, the AKS nodes still point to the Private FQDN instead of pointing to the PUBLIC FQDN which resolves to the private IP address.
This results on AKS nodes not able to reach the API Server by using the PUBLIC ENDPOINT.
I tested this with AKS 1.29.9 and also 1.30.1 and the NODES are not able to connect to the API Server.
Error seen on VMSS CSE
VM has reported a failure when processing extension 'vmssCSE' (publisher 'Microsoft.Azure.Extensions' and type 'CustomScript'). Error message: 'Enable failed: failed to execute command: command terminated with exit status=52 [stdout] { "ExitCode": "52", "Output": "4a-87a7-4c8e-a296-107894c7d8d6.privatelink.canadacentral.azmk8s.io: NXDOMAIN\n\nServer:\t\t10.1.0.10\nAddress:\t10.1.0.10#53\n\n** server can't find aks-api-connection-essxlb92.d95e424a-87a7-4c8e-a296-107894c7d8d6.privatelink.canadacentral.azmk8s.io:
Page URL
https://learn.microsoft.com/en-us/azure/aks/private-clusters?tabs=default-basic-networking%2Cazure-portal
Content source URL
https://github.com/MicrosoftDocs/azure-aks-docs/blob/main/articles/aks/private-clusters.md
Author
@schaffererin
Document Id
028051c9-b3cc-5b7d-c379-c14f2bf78e71