Interview Prep/Azure/AKS and ACR Errors

Pods are `Pending`: `0/3 nodes are available: 3 Insufficient cpu. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod.`

BeginnerTroubleshootingAKS and ACR Errors
Answer

Likely causes → Requests exceed free allocatable capacity, and the autoscaler is off, at max, or can't scale (quota).

Diagnose →

kubectl describe pod <pod> | sed -n '/Events/,$p'
kubectl describe nodes | grep -A5 "Allocated resources"
az aks nodepool show -g rg --cluster-name aks -n apps --query "{auto:enableAutoScaling, min:minCount, max:maxCount, count:count}"

Fix → Enable/raise autoscaler max, right-size requests, add a pool; check quota if scale-out fails.

Prevent → Realistic requests and autoscaler headroom alerts.

Azure All Azure questions Roadmap: AKS & Azure DevOps

More on AKS and ACR Errors