AGENT SKILL

AKS 网络数据包捕获

aks-network-capture

从 AKS 节点和 Azure 网络配置中收集有界的数据包捕获,作为线路级证据。适用场景:"capture packets on an AKS node"、"take a pcap"、"run tcpdump on AKS"、"prove where packets drop"。在只读诊断之后用于明确的数据包捕获意图,不用于一般 AKS 连接或入口故障排查。

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

01 前言 Front Matter

name
aks-network-capture
license
MIT
metadata
{ "author": "Microsoft", "version": "0.0.0-placeholder" }
description
Collects bounded packet captures from AKS nodes and Azure network configuration for wire-level evidence. WHEN: "capture packets on an AKS node", "take a pcap", "run tcpdump on AKS", "prove where packets drop". Use for explicit packet-capture intent after read-only diagnostics, not general AKS connectivity or ingress troubleshooting.

02 资源文件 13

03 SKILL.md 正文

AKS Network Capture

Quick Reference

Use Requires Safety
AKS pcap evidence kubectl; az for Azure evidence Bounded, pinned, least privilege

When to Use This Skill

Use for explicit packet capture after read-only checks, not generic connectivity failures.

MCP Tools

Azure MCP's AKS area provides cluster and node-pool metadata, not Kubernetes command execution or packet capture.

Host Capability Gate

Before executing the workflow, confirm that the host permits the required Bash or PowerShell execution, kubectl access to the bound cluster, az for Azure evidence, access to the bundled scripts, and an approved artifact destination. A governed Azure CLI tool alone does not establish that shell, Kubernetes commands, or artifact operations are supported.

If a required capability is unavailable or prohibited, state that capture execution is unavailable in this host. Analyze supplied, appropriately redacted evidence or give the operator a target-bound collection/capture plan; do not claim to have run it. Never route kubectl through Azure MCP, add an unapproved execution path, or bypass host policy. Host support does not replace the mutation and sensitive-data approvals below.

Run bundled scripts from the skill root only after this gate is satisfied.

Workflow/Steps

  1. Check host capabilities, then complete authorization and target binding. Capture intent is not mutation consent. Stop for separate approval before any debug-container fallback.
  2. Install Bash / PowerShell.
  3. Capture nodes or pods with Bash / PowerShell.
  4. Generate traffic if approved with Bash / PowerShell.
  5. Retrieve the exact run with Bash / PowerShell.
  6. Gather Azure evidence with Bash / PowerShell.

The ConfigMap runs run-capture.sh inside its pinned Linux image.

Error Handling

Error Action
Invalid input Correct it before retrying.
Missing/stale ConfigMap Run setup again.
Capture/retrieval failure Inspect Job logs; missing evidence is not success.

04 同仓库更多 Skills

microsoft
microsoft/GitHub-Copilot-for-Azure

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.

★ 264
microsoft
microsoft/GitHub-Copilot-for-Azure

Foundry IQ 知识库管理

foundry-iq

Foundry IQ 知识库。适用时机:让本地或 Blob 文档可被搜索;创建/诊断知识库;对不支持的连接器或多源知识库的创建/重新配置进行分类处理;将现有知识库连接到智能体(包括多源知识库);创建/复用 Search 服务;从现有知识库检索带引用的内容;无需品牌词。在查询/目标类问题前先阅读其流程说明。不适用:其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引/查询/应用类工作、通用智能体创建。

AI 工程师知识管理与沉淀
★ 264
microsoft
microsoft/GitHub-Copilot-for-Azure

Python 应用 Azure 部署

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。

云架构师部署与发布管理
★ 264
microsoft
microsoft/GitHub-Copilot-for-Azure

Azure OpenAI 快速部署

preset

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

AI 工程师AI 平台资源管理
★ 264
microsoft
microsoft/GitHub-Copilot-for-Azure

Azure OpenAI 自定义部署

customize

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

AI 工程师AI 平台资源管理
★ 264
microsoft
microsoft/GitHub-Copilot-for-Azure

Azure OpenAI 模型容量查询

capacity

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

AI 工程师AI 平台资源管理
★ 264