Nodes show `NotReady` after someone modified the node resource group (`MC_...`).
AdvancedTroubleshootingAKS and ACR Errors
Answer
Likely causes → Manual changes in the node RG: deleted NSG rules or route table entries, changed VMSS settings, locks, or policy denying AKS operations there.
Diagnose → Activity Log on MC_ RG for recent changes; kubectl describe node; AKS Diagnose and Solve.
Fix →
- Revert the changes
- Reconcile the cluster:
az aks update -g rg -n aks(a no-op update triggers reconciliation) - Reimage problematic nodes:
az aks nodepool upgrade --node-image-onlyor delete the VMSS instance to get a fresh node
Prevent → Node resource group lockdown (--nrg-lockdown-restriction-level ReadOnly).
More on AKS and ACR Errors
Pods show `ImagePullBackOff` with `failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://acrshop.azurecr.io/oauth2/token?...: 401 Unauthorized`.Beginner`Failed to pull image "acrshop.azurecr.io/shop/web:v3": ... manifest unknown` or `not found`.Beginner`ImagePullBackOff` with `dial tcp: lookup acrshop.azurecr.io on 168.63.129.16:53: no such host` or connection timeouts to the registry.Advanced`exec /usr/local/bin/python: exec format error` in pod logs right after deploying a new image.BeginnerPods are `Pending`: `0/3 nodes are available: 3 Insufficient cpu. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod.`BeginnerCluster autoscaler events show `pod didn't trigger scale-up: 1 max node group size reached` or `NotTriggerScaleUp`.Intermediate