AGENT SKILL

AKS GPU 推理故障诊断

aks-gpu-inference

使用配置文件感知(profile-aware)的只读证据,诊断上线后运维(Day-2)阶段的 AKS GPU 和 KAITO 事件。适用场景:'Insufficient nvidia.com/gpu'(GPU 资源不足)、GPU Pod 处于 Pending 状态、模型加载 OOM、DCGM/VRAM 问题、KAITO Workspace 未就绪,或 GPU 自动扩缩容。不适用于:环境搭建(airunway-aks-setup)、非 GPU 事件(aks-troubleshooting)、独立 VM 配额(azure-quotas),或通用成本问题(可选 azure-cost 插件中的 cost-analysis 或 cost-optimization)。

适用职业SRE 工程师
License 许可
MIT
最近更新
2026-11-14
Stars
★ 1.6k
Forks
267

01 前言 Front Matter

name
aks-gpu-inference
license
MIT
metadata
{ "author": "Microsoft", "version": "1.1.1" }
description
Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence. WHEN: 'Insufficient nvidia.com/gpu', GPU pod Pending, model-load OOM, DCGM/VRAM, KAITO Workspace not ready, or GPU autoscaling. DO NOT USE FOR: setup (airunway-aks-setup), non-GPU incidents (aks-troubleshooting), standalone VM quota (azure-quotas), or generic cost (cost-analysis or cost-optimization from the optional azure-cost plugin).

02 资源文件 9

03 SKILL.md 正文

AKS GPU Inference Day-2

Quick Reference

Property Value
Best for AKS GPU/KAITO failures
Evidence Bound target, events/status, gpuProfile, DCGM

When to Use This Skill

Use for scheduling, VRAM/OOM, KAITO readiness, and workload scaling. Route exclusions as described above.

MCP Tools

Use a fitting host-advertised Azure read or the references' read-only queries.

Host Capability Gate

Before executing any referenced pipeline, verify that the host authorizes the required shell and kubectl/az commands against the bound target. File-backed collection also requires approved artifact storage and access to any bundled files it uses. A governed Azure CLI tool alone does not establish these capabilities. Equivalent host reads may replace commands only where their advertised schemas provide the required evidence.

If execution is unavailable or prohibited, say so and analyze supplied or redacted events, status, logs, and metrics, or give the operator a scoped collection plan. State which reads did not run and leave conclusions requiring missing evidence unconfirmed. Never route kubectl through Azure MCP or bypass host policy. The authorization requirements below still apply.

Workflow

  1. Bind subscription, cluster, kube context, pool, and affected resource.
  2. Capture exact events/status and observed gpuProfile; state which reads ran.
  3. Route to scheduling, observability, KAITO, or scaling.
  4. Separate container/host OOM from device-allocation failures. For OOMKilled, correlate container memory limits/usage and node conditions. For Managed+Install device-memory evidence, use the exporter on port 19400 and incident-window FB_USED/FB_FREE; sizing tables do not establish a cause.
  5. For KAITO not-ready, warn that Workspace deletion leaves its GPU pools; cleanup is separate and needs explicit authorization.
  6. Report evidence, confidence, missing evidence, and owner handoff.

Require explicit authorization before scaling, cordon/drain, deletion, add-on enablement, or monitoring mutation.

Error Handling

Condition Response
Missing/contradictory evidence Mark unconfirmed; request the owner/read
Unknown profile Preserve evidence; do not prescribe stack repair
Mutation required Propose separately and wait for authorization

04 同仓库更多 Skills

microsoft
microsoft/azure-skills

azure-advisor-cost-optimization

Analyze Azure Advisor Cost/IdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: "find unused Azure resources", "what resources am I paying for but no longer using", "idle-resource savings", "historical idle-resource savings", "are these idle resources safe to delete". Generic Cost, other subcategories, and cross-category requests use azure-advisor.

★ 1.6k
microsoft
microsoft/azure-skills

Python应用Azure App Service部署

python-appservice-deploy

将Python(Flask/Django/FastAPI)代码部署到Azure App Service Linux。适用场景:"Flask App Service"、"Django App Service"、"FastAPI App Service"、"将Python部署到App Service"。不适用于:Container Apps、Functions、非Python、Terraform/Bicep/IaC、完整基础设施——请使用 azure-prepare。

软件开发工程师部署与发布管理
★ 1.6k
microsoft
microsoft/azure-skills

Azure OpenAI模型最佳区域部署

preset

通过分析所有可用区域的容量,智能地将Azure OpenAI模型部署到最佳区域。自动先检查当前区域,并在必要时显示备选方案。适用于:快速部署、最佳区域、最优区域、自动区域选择、快速设置、多区域容量检查、高可用部署、部署到最佳位置。不适用于:自定义SKU选择(请使用 customize)、特定版本选择(请使用 customize)、自定义容量配置(请使用 customize)、PTU部署(请使用 customize)。

AI 工程师AI 平台资源管理
★ 1.6k
microsoft
microsoft/azure-skills

Azure OpenAI模型自定义部署

customize

Azure OpenAI模型的交互式引导部署流程,提供完全自定义控制。逐步选择模型版本、SKU(GlobalStandard/Standard/ProvisionedManaged)、容量、RAI策略(内容过滤器)以及高级选项(动态配额、优先处理、溢出)。适用于:自定义部署、自定义模型部署、选择版本、选择SKU、设置容量、配置内容过滤器、RAI策略、部署选项、详细部署、高级部署、PTU部署、预置吞吐量。不适用于:快速部署到最佳区域(请使用 preset)。

AI 工程师AI 平台资源管理
★ 1.6k
microsoft
microsoft/azure-skills

Azure OpenAI容量查询

capacity

发现跨区域和项目的可用 Azure OpenAI 模型容量。分析配额限制、比较可用性,并根据容量需求推荐最佳部署位置。USE FOR:查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。DO NOT USE FOR:实际部署(发现后转交给预设或自定义技能)、配额提升请求(引导用户前往 Azure 门户)、列出现有部署。

AI 工程师AI 平台资源管理
★ 1.6k
microsoft
microsoft/azure-skills

Azure OpenAI模型部署

deploy-model

统一的 Azure OpenAI 模型部署技能,具备基于意图的智能路由。处理快速预设部署、完全自定义部署(版本/SKU/容量/RAI 策略)以及跨区域和项目的容量发现。USE FOR:部署模型、部署 gpt、创建部署、模型部署、部署 openai 模型、设置模型、配置模型、查找容量、检查模型可用性、可以在哪里部署、模型最佳区域、容量分析。DO NOT USE FOR:列出现有部署(使用 foundry_models_deployments_list MCP 工具)、删除部署、创建智能体(使用 agent/create)、创建项目(使用 project/create)。

AI 工程师AI 平台资源管理
★ 1.6k