AKS 成本效率优化分析
aks-cost-optimization
分析高级 AKS 成本效率。适用场景:"AKS NAP 就绪"、"AKS 装箱(bin packing)"、"AKS 节点扩缩容瓶颈"、"AKS 缩容受阻"、"AKS 存储成本"。不作为以下场景的直接入口:整体 AKS 成本评估或资源规格调整/VPA/CAS/Spot(azure-kubernetes);支出/异常/承诺管理(cost-analysis/cost-optimization);事件处理(aks-troubleshooting)。
- License 许可
- MIT
- 所属仓库
- microsoft/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 3.2k
- Forks
- 368
01 前言 Front Matter
- name
- aks-cost-optimization
- license
- MIT
- metadata
- { "author": "Microsoft", "version": "1.0.10" }
- description
- Analyze advanced AKS cost efficiency. WHEN: "AKS NAP readiness", "AKS bin packing", "AKS node scaling bottleneck", "AKS blocked scale-down", "AKS storage cost". DO NOT USE AS DIRECT ENTRY FOR: overall AKS cost assessments or rightsizing/VPA/CAS/Spot (azure-kubernetes); spend/anomalies/commitments (cost-analysis/cost-optimization); incidents (aks-troubleshooting).
02 资源文件 13
- 参考文档references/aks-bin-packing.md3.8 KB
- 参考文档references/aks-nap.md3.2 KB
- 参考文档references/aks-savings-plans-reservations.md3.5 KB
- 参考文档references/aks-storage-optimization.md3.5 KB
- 参考文档references/bin-packing-evidence.md3.8 KB
- 参考文档references/nap-decisions.md3.3 KB
- 参考文档references/nap-enablement-and-rollback.md1.8 KB
- 参考文档references/nap-evidence-collection.md3.9 KB
- 参考文档references/node-scaling-bottlenecks.md3.8 KB
- 参考文档references/self-hosted-karpenter-migration.md2.1 KB
- 参考文档references/storage-container-insights.md2.9 KB
- 参考文档references/storage-decisions.md3.3 KB
- 参考文档references/storage-metrics.md3.7 KB
03 SKILL.md 正文
AKS Cost Optimization
When to Use This Skill
Use for advanced existing-cluster analysis requiring scheduling, placement, or
verified storage mapping. Route overall AKS cost assessments to
azure-kubernetes, spend/anomalies to cost-analysis, commitments to
cost-optimization, and incidents to aks-troubleshooting when those skills are available. When called from an overall assessment, return findings for its ranked report.
MCP Tools
Prefer fitting Azure MCP reads. Never invent tools or use az/kubectl
without approved shell access and a target-bound context.
Workflow/Steps
- Bind the subscription, cluster, resource group, and kube context.
- Route to NAP readiness, bin-packing, node-scaling bottlenecks, or storage optimization.
- When invoked for AKS commitment context, use the commitment-demand handoff and return demand evidence without benefit analysis or a transaction.
- Keep reads non-mutating; require approval for every change.
Error Handling
- Missing capability: analyze supplied evidence or provide a collection plan; mark dependent cost or commitment results unavailable.
- Evidence conflict: mark the conclusion unconfirmed.
04 同仓库更多 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.
Azure 技能创建与更新指南
skill-creator
面向使用 Azure SDK 和 Microsoft Foundry 服务的 AI 编码智能体,指导其创建高效技能的指南。在创建新技能或更新现有技能时使用。
AI 播客音频生成
podcast-generation
通过 WebSocket 使用 Azure OpenAI 的 GPT Realtime Mini 模型生成 AI 驱动的播客式音频叙述。当构建文本转语音功能、音频叙述生成、根据内容制作播客,或集成 Azure OpenAI Realtime API 以获得真实音频输出时使用。涵盖从 React 前端到 Python FastAPI 后端及 WebSocket 流式传输的全栈实现。
Microsoft 技术文档查询
microsoft-docs
通过查询官方文档来理解 Microsoft 技术。当用户询问某项技术的工作原理、想要教程、需要任何 Microsoft 技术(Azure、.NET、M365、Windows、Power Platform 等)的配置选项、限制、配额或最佳实践时使用——即使他们没有提到"文档"。如果问题是为了理解概念而非编写代码,那么这就是合适的技能。
MCP 服务器构建
mcp-builder
用于创建高质量 MCP(Model Context Protocol)服务器的指南,使大语言模型能够通过设计完善的工具与外部服务交互。当构建用于集成外部 API 或服务的 MCP 服务器时使用,无论采用 Python(FastMCP)、Node/TypeScript(MCP SDK),还是 C#/.NET(Microsoft MCP SDK)。
KQL 查询编写与调试
kql
KQL 语言专业能力,用于编写正确且高效的 Kusto Query Language 查询。涵盖语法陷阱、join 模式、dynamic 类型、datetime 陷阱、regex 模式、序列化、内存管理、结果集规模控制,以及高级函数(geo、vector、graph)。在编写、调试或审查 KQL 查询时均使用本技能——即使是简单查询——因为陷阱章节可防止最常见的错误,避免浪费工具调用并引发代价高昂的连锁重试。触发条件:KQL、Kusto、ADX、Azure Data Explorer、Fabric Real-Time Intelligence、EventHouse、Log Analytics、日志分析、数据探索、时间序列、异常检测、summarize、where 子句、join、extend、project、let 语句、parse 运算符、extract 函数,以及任何提及管道式查询语法的情形。