Interview Prep/Azure/AKS and ACR Errors

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 →

  1. Revert the changes
  2. Reconcile the cluster: az aks update -g rg -n aks (a no-op update triggers reconciliation)
  3. Reimage problematic nodes: az aks nodepool upgrade --node-image-only or delete the VMSS instance to get a fresh node

Prevent → Node resource group lockdown (--nrg-lockdown-restriction-level ReadOnly).

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors