Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Diagnose Azure service issues, query logs, and troubleshoot failures using GitHub Copilot for Azure
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
troubleshooting/aks/references/command-flows.md
1# AKS Command Flows23## Cluster Baseline Flow45```text6Resolve subscription -> resolve resource group -> resolve cluster -> inspect cluster state -> inspect node pools -> inspect resource health -> inspect recent operations7```89CLI fallback when AKS-MCP cannot perform the cluster baseline read:1011```bash12az aks show -g <resource-group> -n <cluster-name>13az aks nodepool list -g <resource-group> --cluster-name <cluster-name>14az monitor activity-log list -g <resource-group> --max-events 2015```1617## Kubernetes Baseline Flow1819```text20Check API reachability -> inspect nodes -> inspect kube-system -> inspect events -> inspect affected namespace -> inspect pod details and logs21```2223CLI fallback when AKS-MCP cannot perform the Kubernetes baseline read:2425```bash26kubectl cluster-info27kubectl get nodes -o wide28kubectl get pods -n kube-system29kubectl get events -A --sort-by=.lastTimestamp30kubectl get pods -n <namespace>31kubectl describe pod <pod-name> -n <namespace>32kubectl logs <pod-name> -n <namespace> --previous33```3435## Connectivity Flow3637```text38pod -> service -> endpoints -> ingress or load balancer -> DNS -> network controls39```4041CLI fallback when AKS-MCP cannot perform the connectivity read:4243```bash44kubectl get pods -n <namespace> -o wide45kubectl get svc -n <namespace>46kubectl get endpoints -n <namespace>47kubectl get ingress -n <namespace>48kubectl describe ingress <ingress-name> -n <namespace>49```5051## Detector Flow5253```text54resolve cluster resource ID -> list detectors or choose category -> select a focused time window -> run the detector or category -> rank critical findings above warnings -> ignore emerging issues when choosing the primary root cause55```5657## Monitoring Flow5859```text60check resource health -> inspect metrics -> verify diagnostics settings -> inspect control plane logs if available -> correlate with Application Insights or namespace symptoms61```6263## Scheduling Flow6465```text66pod events -> node capacity -> taints and tolerations -> affinity rules -> PVC state -> quotas67```6869CLI fallback when AKS-MCP cannot perform the scheduling read:7071```bash72kubectl describe pod <pod-name> -n <namespace>73kubectl get nodes -o wide74kubectl describe node <node-name>75kubectl get pvc -n <namespace>76kubectl describe quota -n <namespace>77```7879## Safety Boundary8081Treat the following as change operations and avoid them unless the user explicitly asks for remediation:8283- deleting or restarting pods84- cordon and drain operations85- scaling workloads or node pools86- cluster upgrade operations87- DNS, route, NSG, or firewall changes88