Skill 05 · AKS Troubleshooting
Subchapter 5.8
references/structured-input-modes.mdMarkdown4 KBView on GitHub
Use this reference when the troubleshooting request already contains structured inputs.
Use when AKS-aware detectors or AppLens-style insights are available.
Decision rules:
emergingIssues.Use when the request includes Kubernetes warning events.
Expected output:
Use when the request includes CPU or memory time-series data.
Expected output:
Use when the request includes resource symptoms but not detector results, warning events, or time-series metrics.
Expected output:
Use when the question is about past API-server, scheduler, controller-manager, or cluster-autoscaler behavior. AKS control-plane logs are Azure Monitor resource logs: they exist only if a diagnostic setting routed the category to a destination before the incident window. Missing setting or history means the evidence is unavailable, never “no events occurred.”
Category → table mapping (resource-specific mode; legacy Azure diagnostics mode
lands everything in AzureDiagnostics with a Category column):
| Diagnostic category | Resource-specific table | Content |
|---|---|---|
kube-audit | AKSAudit | All API-server audit events, including get/list |
kube-audit-admin | AKSAuditAdmin | Audit events excluding get/list (modifying requests) |
kube-apiserver, kube-scheduler, kube-controller-manager, cluster-autoscaler, cloud-controller-manager, guard, csi-*-controller | AKSControlPlane (filter on Category) | Component logs |
az monitor diagnostic-settings list --resource <cluster-resource-id> -o table
az monitor diagnostic-settings show --resource <cluster-resource-id> -n <setting> --query '{logs:logs,workspace:workspaceId,resourceSpecific:logAnalyticsDestinationType}'Decision rules:
AKSControlPlane | where Category == "kube-scheduler" (or the matching
AzureDiagnostics filter) only after the setting shows that category enabled
for the incident window and the workspace is readable to the user.kube-audit in particular); propose it for owner approval,
never apply it as part of diagnosis.Sources: Monitor AKS — resource logs (opens in a new tab), AKS monitoring data reference (opens in a new tab), AKSAudit (opens in a new tab), AKSControlPlane (opens in a new tab).
If the first troubleshooting pass is incomplete, search Microsoft Learn using:
Use Learn grounding to refine or validate the root-cause hypothesis, not to replace observed evidence.