Interview Prep/Azure/AKS and ACR Errors

`ImagePullBackOff` with `dial tcp: lookup acrshop.azurecr.io on 168.63.129.16:53: no such host` or connection timeouts to the registry.

AdvancedTroubleshootingAKS and ACR Errors
Answer

Likely causes → ACR has public access disabled and the cluster can't resolve the private endpoint (privatelink.azurecr.io zone not linked), or firewall egress blocks *.azurecr.io and the data endpoint <registry>.<region>.data.azurecr.io.

Diagnose →

az aks check-acr -g rg -n aks --acr acrshop.azurecr.io
kubectl run t --rm -it --image=busybox:1.36 -- nslookup acrshop.azurecr.io

Fix → Link the privatelink.azurecr.io zone to the AKS VNet, ensure the PE has DNS records for both login and data endpoints, or allow ACR FQDNs on the firewall.

Prevent → Include ACR in the private DNS and firewall baseline for AKS spokes.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors