mcpField
A
azure-iot-edge

azure-iot-edge

github.com/microsoftdocs云与 DevOps796168 次安装3 天前更新
代码仓库

关于 azure-iot-edge

为使用 Azure IoT Edge 的团队提供运维、架构、安全、配置和部署指引,结合本地参考内容与联网获取的 Microsoft 文档。

主要功能

  1. 01排查设备与运行时问题
  2. 02规划边缘架构与连接
  3. 03配置安全与设备预配
  4. 04监控指标和模块健康状况
  5. 05大规模部署与更新设备

适用场景

  1. 01诊断 IoT Edge 设备错误
  2. 02设计网关与离线运行方案
  3. 03配置证书和设备预配
  4. 04规划部署与运行时更新

MCP 相关

该技能可通过 mcp_microsoftdocs:microsoft_docs_fetch 获取文档,也说明了 fetch_webpage 备用方式。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-iot-edge

安装后在 Claude Code 中输入/azure-iot-edge确认已加载。

详细介绍

Azure IoT Edge 技能

此技能提供 Azure IoT Edge 方面的专业指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、限制与配额、安全性、配置、集成与编码模式,以及部署。它结合了本地快速参考内容和远程文档获取功能。

如何使用此技能

Agent 注意:使用下方的类别索引查找相关章节。对于包含行范围的类别(例如,L35-L120),使用 read_file 读取指定行。对于包含文件链接的类别(例如,[security.md](security.md)),使用 read_file 读取链接的参考文件

Agent 注意:如果 metadata.generated_at 距今超过 3 个月,请建议用户从仓库拉取最新版本。如果无法使用 mcp_microsoftdocs 工具,请建议用户安装它:安装指南

此技能需要网络访问权限以获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并将查询字符串设为 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并将查询字符串设为 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行说明
故障排除L37-L47诊断和修复 IoT Edge 设备/运行时问题、监视和指标问题、Azure 门户故障,以及 EFLOW/Windows 网络和常见错误。
最佳实践L48-L55IoT Edge 的监视和生产指导:使用 Azure Monitor 工作簿、跟踪模块孪生运行状况、实施可观测性,以及应用适用于生产环境的最佳实践。
决策制定L56-L62针对不同部署场景,选择 IoT Edge/EFLOW 平台、预配方法、网络设置和嵌套虚拟化选项的指导。
架构与设计模式L63-L69IoT Edge 拓扑的设计模式:网关场景、离线/间歇连接策略,以及为复杂部署配置多级(嵌套)Edge 层次结构
限制与配额L70-L74Azure IoT Edge 资源限制和配额,包括模块、部署、消息和设备限制,以及与可扩展性和性能相关的限制。
安全性L75-L88保护 IoT Edge:证书和 X.509 预配、dTPM/EFLOW 安全性、机密计算模块、EST 服务设置、下游身份验证,以及 Private Link/终结点流量保护。
配置L89-L120配置 IoT Edge 设备和 EFLOW:网络、网关、代理、存储、GPU、预配(DPS、密钥、X.509)、模块选项、指标,以及主机/VM 集成。
集成与编码模式L121-L130使用 IoT Edge 指标、日志和直接方法,将自定义模块与 IoT Hub 集成,以及通过 PowerShell 管理 EFLOW 上的 IoT Edge,以进行监视和远程操作。
部署L131-L143大规模部署和更新 IoT Edge:CI/CD 管道、门户/CLI 部署、Kubernetes/VM 安装、运行时更新,以及设备和设备组支持的平台。
故障排除
主题URL
排查 Azure IoT Edge 监控和指标问题https://learn.microsoft.com/en-us/azure/iot-edge/how-to-troubleshoot-monitoring-and-faq
诊断和排查 Azure IoT Edge 设备问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot
解决常见的 Azure IoT Edge 错误和问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot-common-errors
通过 Azure 门户排查 IoT Edge 设备问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot-in-portal
排查 Windows 设备上的 Azure IoT Edge for Linux 问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot-iot-edge-for-linux-on-windows
解决 Windows 版 Azure IoT Edge for Linux 的常见问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot-iot-edge-for-linux-on-windows-common-errors
排查 EFLOW 虚拟机的网络问题https://learn.microsoft.com/en-us/azure/iot-edge/troubleshoot-iot-edge-for-linux-on-windows-networking
最佳实践
主题URL
使用精选的 Azure Monitor 工作簿监控 IoT Edgehttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-explore-curated-visualizations
监控 IoT Edge 模块孪生的运行状况https://learn.microsoft.com/en-us/azure/iot-edge/how-to-monitor-module-twins
为 Azure IoT Edge 系统实现可观测性https://learn.microsoft.com/en-us/azure/iot-edge/how-to-observability
应用 Azure IoT Edge 生产就绪最佳实践https://learn.microsoft.com/en-us/azure/iot-edge/production-checklist
决策
主题URL
为 EFLOW 选择并配置网络选项https://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-iot-edge-for-linux-on-windows-networking
为 IoT Edge 设备选择平台和预配选项https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-iot-edge-device
为 EFLOW 部署选择嵌套虚拟化选项https://learn.microsoft.com/en-us/azure/iot-edge/nested-virtualization
架构与设计模式
主题URL
为设备选择 Azure IoT Edge 网关模式https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-as-gateway
设计 Azure IoT Edge 离线运行模式https://learn.microsoft.com/en-us/azure/iot-edge/offline-capabilities
设计和配置嵌套 Azure IoT Edge 层次结构https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-nested-iot-edge
限制与配额
主题URL
查看 Azure IoT Edge 限制和约束https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-limits-and-restrictions
安全
主题URL
将机密计算应用部署为 IoT Edge 模块https://learn.microsoft.com/en-us/azure/iot-edge/deploy-confidential-applications
为 EFLOW 上的 IoT Edge 配置 dTPM 访问权限https://learn.microsoft.com/en-us/azure/iot-edge/how-to-access-dtpm
为 IoT Edge 下游设备配置身份验证https://learn.microsoft.com/en-us/azure/iot-edge/how-to-authenticate-downstream-device
创建并安装 Azure IoT Edge 测试证书https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-test-certificates
管理 Azure IoT Edge 设备的证书以确保安全https://learn.microsoft.com/en-us/azure/iot-edge/how-to-manage-device-certificates
使用 X.509 证书预配 Linux IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-x509
为 Azure IoT Edge 配置基于证书的安全性https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-certs
了解并配置适用于 Windows 上 Linux 的 IoT Edge 安全原则https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-for-linux-on-windows-security
为 Azure IoT Edge 设备配置 EST 服务安全性https://learn.microsoft.com/en-us/azure/iot-edge/tutorial-configure-est-server
使用 Private Link 和终结点保护 IoT Edge 流量https://learn.microsoft.com/en-us/azure/iot-edge/using-private-link
配置
主题URL
通过 config.toml 配置 Azure IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/configure-device
为 IoT Edge for Linux on Windows 启用 GPU 加速https://learn.microsoft.com/en-us/azure/iot-edge/gpu-acceleration
配置 IoT Edge 模块以使用主机存储https://learn.microsoft.com/en-us/azure/iot-edge/how-to-access-host-storage-from-module
配置 IoT Edge 指标收集与传输https://learn.microsoft.com/en-us/azure/iot-edge/how-to-collect-and-transport-metrics
为网关自定义 Azure IoT Edge API 代理模块https://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-api-proxy-module
为 DMZ 和多个 NIC 配置 EFLOW 网络https://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-iot-edge-for-linux-on-windows-iiot-dmz
配置 IoT Edge 模块的生成和部署选项https://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-module-build-options
为 EFLOW VM 添加并配置多个 NIChttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-multiple-nics
为 Azure IoT Edge 设备和模块配置代理设置https://learn.microsoft.com/en-us/azure/iot-edge/how-to-configure-proxy-support
配置下游设备通过 IoT Edge 网关连接https://learn.microsoft.com/en-us/azure/iot-edge/how-to-connect-downstream-device
配置嵌套 Azure IoT Edge 设备层级结构https://learn.microsoft.com/en-us/azure/iot-edge/how-to-connect-downstream-iot-edge-device
配置通过 IP 连接 EFLOW VM 的 USBhttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-connect-usb-devices
为 IoT Edge 指标创建 Azure Monitor 警报https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-alerts
将 Azure IoT Edge 配置为透明网关https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-transparent-gateway
为 EFLOW 创建并配置虚拟交换机https://learn.microsoft.com/en-us/azure/iot-edge/how-to-create-virtual-switch
为 EFLOW 配置对称密钥 DPS 预配https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-devices-at-scale-linux-on-windows-symmetric
为 EFLOW 设备配置基于 TPM 的 DPS 预配https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-devices-at-scale-linux-on-windows-tpm
使用 X.509 和 DPS 大规模自动预配 EFLOW IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-devices-at-scale-linux-on-windows-x509
使用 X.509 证书配置大规模 IoT Edge 预配https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-devices-at-scale-linux-x509
使用对称密钥预配单个 EFLOW IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-on-windows-symmetric
使用 X.509 证书预配 EFLOW IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-on-windows-x509
使用对称密钥预配单个 Linux IoT Edge 设备https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-symmetric
与 EFLOW 虚拟机共享 Windows 文件夹https://learn.microsoft.com/en-us/azure/iot-edge/how-to-share-windows-folder-to-vm
配置 IoT Edge 模块容器 createOptionshttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-use-create-options
配置 Windows 主机与 EFLOW 虚拟机之间的网络https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-for-linux-on-windows-networking
将 IoT Edge 指标收集器迁移到 Logs Ingestionhttps://learn.microsoft.com/en-us/azure/iot-edge/migrate-metrics-collector
配置 IoT Edge 部署清单和消息路由https://learn.microsoft.com/en-us/azure/iot-edge/module-composition
配置 edgeAgent 和 edgeHub 模块孪生属性https://learn.microsoft.com/en-us/azure/iot-edge/module-edgeagent-edgehub
集成与编码模式
主题URL
访问和使用 Azure IoT Edge 内置指标https://learn.microsoft.com/en-us/azure/iot-edge/how-to-access-built-in-metrics
添加来自 IoT Edge 模块的自定义指标https://learn.microsoft.com/en-us/azure/iot-edge/how-to-add-custom-metrics
使用 IoT Edge 代理直接方法进行远程管理https://learn.microsoft.com/en-us/azure/iot-edge/how-to-edgeagent-direct-method
通过直接方法检索和上传 Azure IoT Edge 日志https://learn.microsoft.com/en-us/azure/iot-edge/how-to-retrieve-iot-edge-logs
开发与 IoT Hub 集成的 Azure IoT Edge 模块https://learn.microsoft.com/en-us/azure/iot-edge/module-development
使用 EFLOW PowerShell 函数管理 IoT Edgehttps://learn.microsoft.com/en-us/azure/iot-edge/reference-iot-edge-for-linux-on-windows-functions
部署
主题URL
使用 Azure DevOps 为 Azure IoT Edge 模块设置 CI/CD 管道https://learn.microsoft.com/en-us/azure/iot-edge/how-to-continuous-integration-continuous-deployment
在门户中创建 IoT Edge 自动部署https://learn.microsoft.com/en-us/azure/iot-edge/how-to-deploy-at-scale
使用 CLI 管理大规模 IoT Edge 部署https://learn.microsoft.com/en-us/azure/iot-edge/how-to-deploy-cli-at-scale
使用 Azure CLI 部署 IoT Edge 模块https://learn.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-cli
使用 KubeVirt 在 Kubernetes 上安装 Azure IoT Edgehttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-kubernetes
使用 Bicep 将 Azure IoT Edge 部署到 Ubuntu VMhttps://learn.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-ubuntuvm-bicep
规划并执行设备上的 Azure IoT Edge 运行时更新https://learn.microsoft.com/en-us/azure/iot-edge/how-to-update-iot-edge
查看 Windows 上 IoT Edge 的受支持平台https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-for-linux-on-windows-support
管理设备组的 IoT Edge 自动部署https://learn.microsoft.com/en-us/azure/iot-edge/module-deployment-monitoring
查看 Azure IoT Edge 部署的受支持平台https://learn.microsoft.com/en-us/azure/iot-edge/support

评论

支持 Markdown