En bref
Collecte des captures de paquets bornées sur des nœuds AKS et la configuration réseau Azure, afin d’obtenir une preuve au niveau de la couche filaire (pcap, tcpdump). On la réserve à une intention explicite de capture, après un diagnostic en lecture seule, et non au dépannage général de connectivité ou d’ingress AKS.
Ce que ça fait
- Lance une capture de paquets bornée sur un nœud AKS
- S’appuie aussi sur la configuration réseau Azure
- Ne remplace pas un diagnostic de connectivité général
Pour qui, et un exemple
Les équipes qui, après un premier diagnostic AKS, ont besoin d’une preuve réseau au niveau des paquets.
Exemple de demande : « Après le diagnostic en lecture seule, capture les paquets sur ce nœud AKS pour montrer où ils sont perdus. »
On l’active pour des demandes du type « capture packets on an AKS node », « take a pcap », « run tcpdump on AKS » ou « prove where packets drop », uniquement en cas d’intention explicite de capture. Exemple rédigé par iadujour.fr à partir du SKILL.md, non testé.
Installer
npx skills add microsoft/skills (sélection de la skill dans l’assistant, README).
npx skills add microsoft/skillsFonctionne avec
- GitHub Copilot
- Copilot CLI
Source : README : exemples de « Copilot CLI » et « GitHub Copilot in VS Code » ; l’installation `npx skills add` envoie les fichiers vers le répertoire de l’agent choisi, sans liste exhaustive.
Niveau : Avancé
S’adresse à un usage avancé (sécurité, production, architecture ou réglages fins) décrit dans le SKILL.md.
À savoir
Extrait du SKILL.md
La description d’origine, celle que l’agent lit pour décider de charger la skill (en anglais) :
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.
Citée depuis le SKILL.md au commit 07ade63 . Le dossier contient aussi 12 fichiers annexes (references/, scripts/).
Le SKILL.md compte 54 lignes et 6 sections principales :
- Quick Reference
- When to Use This Skill
- MCP Tools
- Host Capability Gate
- Workflow/Steps
- Error Handling
Licence : MIT
Vérifiée le 10 novembre 2026 sur : fichier de licence d’un dossier parent (.github/plugins/aks-skills/LICENSE) . Licence déclarée dans le frontmatter : « MIT ». Titulaire : Copyright 2025 (c) Microsoft Corporation..
La licence autorise la reprise : le texte intégral du SKILL.md est reproduit ci-dessous, sans modification, avec sa mention de licence.
Texte intégral du SKILL.md
Reproduit sans modification depuis microsoft/skills (commit 07ade63) , © Microsoft, sous licence MIT (fichier de licence d’origine ).
Afficher le SKILL.md original (54 lignes, en anglais)
---
name: aks-network-capture
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."
license: MIT
metadata:
author: Microsoft
version: "1.0.1"
---
# 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
0. Check host capabilities, then complete [authorization and target binding](references/capture-authorization.md).
Capture intent is not mutation consent. Stop for separate approval before
any debug-container fallback.
1. Install [Bash](scripts/setup-capture-configmap.sh) / [PowerShell](scripts/setup-capture-configmap.ps1).
2. Capture nodes or pods with [Bash](scripts/create-capture.sh) / [PowerShell](scripts/create-capture.ps1).
3. Generate traffic if approved with [Bash](scripts/generate-test-traffic.sh) / [PowerShell](scripts/generate-test-traffic.ps1).
4. Retrieve the exact run with [Bash](scripts/retrieve-captures.sh) / [PowerShell](scripts/retrieve-captures.ps1).
5. Gather Azure evidence with [Bash](scripts/collect-azure-network-info.sh) / [PowerShell](scripts/collect-azure-network-info.ps1).
The ConfigMap runs [run-capture.sh](scripts/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. |
Commentaires.
Un retour d’expérience, une question, une précision sur cette skill ? Les commentaires sont relus avant publication.
Commentaires publiés
Chargement des commentaires…
Laisser un commentaire
Charte de modération. Chaque commentaire est relu avant publication. Sont refusés : l’incitation à la haine, les propos injurieux ou discriminatoires, la publicité, le spam et les liens promotionnels, le hors-sujet et les données personnelles d’autrui.