Interview Prep/Azure/AKS and ACR Errors

Node pool stuck in `Failed` provisioning state after a scale operation.

AdvancedTroubleshootingAKS and ACR Errors
Answer

Likely causes → A previous operation failed (quota, allocation, policy blocking VMSS changes, extension failure) and left the pool in Failed.

Diagnose → az aks nodepool show ... --query provisioningState; Activity Log error; AKS diagnostics.

Fix →

  1. Fix the cause (quota, policy exemption for the node RG)
  2. Re-run a no-op update to reconcile: az aks nodepool update -g rg --cluster-name aks -n apps
  3. If still failed, scale to the previous count or reimage

Prevent → Avoid policies that target node RG resources; monitor operation failures.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors