Interview Prep/Azure/AKS and ACR Errors

`az aks get-credentials` works but `kubectl` hangs then fails with `Unable to connect to the server: dial tcp 10.x.x.x:443: i/o timeout`.

IntermediateTroubleshootingAKS and ACR Errors
Answer

Likely causes → Private cluster; your machine has no network path to the private API endpoint (or DNS resolves to the private IP from outside).

Diagnose → az aks show -g rg -n aks --query apiServerAccessProfile

Fix → Connect from a VNet-connected machine (VPN, Bastion jump box, private agent) or use az aks command invoke -g rg -n aks --command "kubectl get nodes".

Prevent → Document access paths for private clusters; private CI agents.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors