SkillsReviewed · microsoft

Microsoft AKS Troubleshooting

AKS Troubleshooting is a Microsoft AI assistant skill for developers and operators investigating Azure Kubernetes Service incidents, but useful diagnosis needs approved access and careful interpretation of incomplete evidence. It combines symptom guides, two collection scripts and an incident report template.

Researched 16 Nov 2026

In short.

AKS Troubleshooting is a Microsoft AI assistant skill for developers and operators diagnosing Azure Kubernetes Service incidents, but its collection scripts can leave important evidence gaps. It connects workload, node, network, capacity and upgrade symptoms to Kubernetes and Azure checks. Target matching and approval boundaries support supervised investigation, while suppressed read errors, short log collection and limited redaction require care. Runtime effectiveness and assistant-host compatibility are unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises all 20 supplied files under .github/plugins/aks-skills/skills/aks-troubleshooting: SKILL.md, eight topic guides, nine references and two shell scripts. Related notices are .github/plugins/aks-skills/LICENSE and repository LICENSE. Sibling skills, installation configuration outside this folder, external documentation and dependency implementations are excluded. Nothing was executed; installation, integrations, live diagnosis, privileged diagnostics, redaction completeness and operating costs remain unassessed.

The overview

identity

aks-troubleshooting is an instruction package authored by Microsoft, with version 1.2.1 declared in SKILL.md. An AI assistant loads its investigation guidance and follows linked topic references; the package is not a standalone diagnostic service.

The folder contains SKILL.md, eight topic guides, nine reference files and two shell scripts. The original source folder is [https://github.com/microsoft/skills/tree/main/.github/plugins/aks-skills/skills/aks-troubleshooting].

assessment

The skill is a useful fit for supervised AKS incident investigation, particularly when a symptom could originate in either Kubernetes or Azure. Its strongest feature is the requirement to connect a proposed cause to specific evidence and record denied or unavailable reads.

Its operating rules are more careful than some implementation details and quick-reference tables. Operators still need to recognize incomplete collection, challenge simplified diagnoses and review proposed changes. No execution results establish diagnostic success, reliability or time savings.

users

The main audience is application developers, platform engineers and site reliability engineers responsible for existing AKS clusters. It supports both an open-ended investigation and a narrowly identified failing pod, node, service or operation.

Beginners can use its ordered investigation paths, but interpreting the results still requires Kubernetes concepts such as pods, node pools, resource limits and network policies, plus Azure identity and networking knowledge. It can also organize operator-supplied redacted evidence when direct execution is unavailable.

capabilities

Coverage includes crashing or unscheduled pods, image pulls, health probes, node readiness and pressure, autoscaling and quota failures, DNS, services, ingress, network policies and outbound connectivity. More specialized references address API-server pressure, admission webhooks, node communication tunnels, failed upgrades, missed automatic updates, spot eviction and availability-zone problems.

The scripts provide a cluster overview and focused pod evidence. Optional Inspektor Gadget guidance adds kernel-level process, socket, DNS and other observations when ordinary checks are insufficient. The report template records findings, failure domain, supported cause, confidence, remediation, rollback, missing evidence and escalation.

Using it

requirements

Live collection requires a host that authorizes the necessary operations. The bundled scripts require shell execution, Azure CLI, kubectl, jq, authenticated Azure access, a reachable cluster and an explicit Kubernetes context. The pod collector also needs approved local artifact storage. Access to a governed Azure tool alone does not establish permission or capability to execute arbitrary shell commands.

The instructions require kubectl compatibility with every reachable API-server version. Private clusters need appropriate network access. Optional Inspektor Gadget diagnostics require Linux nodes, kernel 5.10 or newer with BTF support, compatible tooling and suitable permissions; Kata-sandboxed pods are excluded. Specific assistant-host compatibility and minimum model capability are not established.

mechanism

The investigation begins by identifying the subscription, cluster, Kubernetes context, namespace and affected resource. Both collectors compare the context's normalized server hostname with the named AKS resource's public or private hostname before Kubernetes API reads. The symptom then determines the first investigation branch, with two to four hypotheses and explicit confirming and falsifying signals.

Azure MCP Server capabilities are discovered from the host's advertised schemas. Its AKS area supplies cluster and node-pool metadata; AppLens, monitoring and Resource Health are separate areas. Authorized Azure CLI and kubectl operations cover other evidence needs. Azure MCP Server and the separate Azure/aks-mcp product must not be treated as interchangeable.

setup

Acquire the complete skill folder and preserve its relative paths, because SKILL.md depends on local guides, references and scripts. Loading it into an assistant requires that host's supported skill mechanism; a verified installation procedure for a particular assistant is not established by the selected folder.

Before live use, identify the authorized target, confirm tool availability and permissions, verify cluster reachability and choose artifact storage. Set AKS_SUBSCRIPTION_ID explicitly: the scripts accept it, but otherwise use the Azure CLI's current subscription. Preserve the applicable licence notices with redistributed copies.

example

For an illustrative CrashLoopBackOff investigation, an operator supplies the subscription, resource group, cluster, verified context, namespace, pod and artifact directory, then requests diagnosis without remediation. The skill directs attention to termination details, events and current and previous container logs.

Missing environment values, missing mounted configuration, memory-related termination, dependency failures and probe-triggered restarts are separate hypotheses. The intended result is a supported explanation or ranked possibilities with precise evidence gaps, followed by proposed remediation and rollback. This is an example of the intended process; no incident outcome or execution is established.

Assessment & evidence

limitations

The cluster snapshot suppresses several command errors and sometimes combines an empty result with a failed read. Its warning-event section takes the last 20 sorted events without enforcing the advertised 30-minute window. Its unhealthy-pod filter excludes Running pods, so it is not a complete readiness or restart inventory.

The pod collector requests only the last 50 log lines per container for each current or previous collection. It then exposes at most 50 lines from each combined collection, so the stored raw files are not complete historical logs. The script collects current logs before previous logs, whereas the symptom map prioritizes preserving previous output.

Redaction uses a limited set of credential-shaped patterns on log projections. Pod status and describe output do not pass through that filter, and raw logs remain unredacted on disk. Complete removal of sensitive information is not established. Some quick tables also map broad states such as ImagePullBackOff directly to a cause; the more detailed evidence requirements remain necessary before acting.

reasoning

The resource's practical value comes from distinctions that prevent plausible symptoms becoming unsupported conclusions. Its quota guidance requires the failed operation and matching subscription, region and quota-tier evidence. When calculating a minimum new QuotaExceeded limit, it uses Current Limit plus Additional Required and leaves extra capacity to the owner.

Its networking guidance distinguishes a successfully confirmed missing association from an inaccessible lookup, follows the actual outbound route and limits what a Network Watcher Allow result proves. Network-policy checks consider both source egress and destination ingress. These details make the instructions useful for explaining an investigation, although comparative diagnostic accuracy is unknown.

alternatives

For manual reference, the skill links Microsoft's AKS troubleshooting hub at [https://learn.microsoft.com/troubleshoot/azure/azure-kubernetes/welcome-azure-kubernetes]. The linked site's contents are not independently established by the supplied files.

The skill routes packet capture to aks-network-capture, GPU and model-serving issues to aks-gpu-inference, fully qualified documented error signatures to aks-known-issues, and provisioning or pod rightsizing to azure-kubernetes. It also names azure-diagnostics for standalone non-AKS Azure failures and optional cost-analysis for cost questions. Those resources are outside the selected folder, so their implementation and effectiveness are unassessed.

evidence

The instruction files establish intended investigation behavior. The script bodies provide direct evidence of target checks, collection commands, local file handling, output limits and error handling. The incident template establishes the intended reporting structure.

No commands or scripts were executed. The supplied material contains no observed incident results, measured accuracy, performance benchmarks, redaction validation or verified assistant-host compatibility. The pinned source folder is [https://github.com/microsoft/skills/tree/f03ec5392f7a0f3aca12af47477e92f1edf7b44c/.github/plugins/aks-skills/skills/aks-troubleshooting].

Access & freshness

costs

The MIT notices permit reuse free of charge, but total operating cost is unknown. The supplied files contain no prices, token estimates or measured resource overhead for the assistant, Azure services or diagnostics.

The guidance explicitly identifies ingestion and retention costs when enabling diagnostic settings, and resource costs for DNS query logging. These are separate changes requiring approval. Historical control-plane evidence is available only when the relevant logging and retention already covered the incident.

rights

The plugin-level and repository-level notices both use the MIT License. They permit use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. The software is supplied without warranty.

Keep the notices with shared copies and retain the linked local files when distributing a usable skill. These notices do not establish the terms for external Azure services, assistant hosts or separately acquired dependencies.

freshness

SKILL.md declares version 1.2.1. The supplied source is repository commit f03ec5392f7a0f3aca12af47477e92f1edf7b44c, captured on 16 November 2026. That capture date does not establish a release date or whether a newer revision exists.

The privileged Inspektor Gadget fallback pins version 0.51.0 and an image digest. Other guidance depends on changing Azure CLI capabilities, optional aks-preview commands and AKS behavior. Compatibility beyond the captured source is unknown.

actions

Before relying on the skill, confirm that the assistant can load the complete folder and that the host authorizes the required reads. Explicitly bind the subscription and cluster, check permissions and evaluate the collectors' error reporting and redaction using representative redacted evidence or an authorized non-production incident.

During investigation, preserve missing evidence as unknown and inspect the original termination, event and network signals before accepting a cause. Require explicit approval for remediation and privileged debug-pod operations. The latter create and delete cluster resources despite observing read-only diagnostic state; the guidance requires finite deadlines and cleanup of the exact generated pod.

Evidence for this report

.github/plugins/aks-skills/LICENSEnotice · checked 2026-11-16
LICENSEnotice · checked 2026-11-16