How do you troubleshoot AKS from the Azure side when kubectl is not enough?
IntermediateConceptAKS and ACR
Answer
- Diagnose and solve problems blade (AKS Diagnostics): node health, upgrade failures, SNAT, identity checks.
- Control-plane logs via diagnostic settings:
kube-apiserver,kube-audit-admin,cluster-autoscaler,guard(Entra auth) to Log Analytics. az aks show -g rg -n aks --query "{state:provisioningState, power:powerState.code}"andaz aks nodepool list.- Activity Log for failed operations and their error codes.
az aks command invokewhen the API is private or you have no network path.kubectl debug node/<node> -it --image=mcr.microsoft.com/cbl-mariner/busybox:2.0for a node shell.
More on AKS and ACR
What does Microsoft manage in AKS and what do you manage?BeginnerWhat is the difference between system and user node pools?BeginnerCompare the AKS networking options: kubenet, Azure CNI, Azure CNI Overlay, Azure CNI Powered by Cilium.AdvancedHow many IPs does an AKS subnet need with flat Azure CNI vs Overlay?AdvancedWhat are the AKS tiers (Free, Standard, Premium)?IntermediateHow do AKS Kubernetes version upgrades work?Intermediate