mcpField
A
azure-application-gateway

azure-application-gateway

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

关于 azure-application-gateway

面向 Azure Application Gateway 用户的指导技能,涵盖故障排查、配置、安全、架构和部署。它将本地速查资料与远程文档获取结合,用于运维和设计问题。

主要功能

  1. 01故障排查与最佳实践
  2. 02架构和迁移决策
  3. 03TLS、mTLS 与 WAF 安全
  4. 04网关配置模式
  5. 05AKS 与服务集成
  6. 06部署和扩展指导

适用场景

  1. 01诊断后端健康状态与连接问题
  2. 02规划网关迁移
  3. 03配置 TLS 和 WAF 防护
  4. 04通过 AKS 部署网关

MCP 相关

此技能可通过 `mcp_microsoftdocs:microsoft_docs_fetch` 获取远程文档,也提供网页抓取备用方式。

安装

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

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-application-gateway

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

详细介绍

Azure Application Gateway 技能

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

如何使用此技能

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

IMPORTANT for 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-L43诊断后端运行状况和指标、解读运行状况状态,以及排查 Application Gateway 和 Application Gateway for Containers 的配置、连接和运行时问题。
最佳实践L44-L49调整运行状况探测、了解探测行为,并为高流量工作负载规划 Application Gateway 容量、缩放和配置。
决策L50-L60关于为 Application Gateway for Containers 选择网络和定价,以及从 AGIC、App Gateway V1 和经典 VM 规划迁移到较新 Azure 服务的指导。
架构与设计模式L61-L65使用 Azure Application Gateway for Containers 时,关于选择和设计负载均衡策略及流量分配模式的指导。
限制与配额L66-L71配置 Application Gateway v2 的自动缩放、区域冗余和多站点托管限制,包括容量、缩放行为以及站点/主机名约束。
安全性L72-L112Application Gateway 的 TLS/SSL 安全性:侦听器策略、证书准备/轮换、Key Vault、端到端 TLS 和双向 TLS(包括 mTLS、与 Istio 配合的 mTLS)、WAF、HSTS,以及 AKS/容器集成。
配置L113-L176配置 Application Gateway 和 Application Gateway for Containers:侦听器、路由、探测、运行状况、TLS/mTLS、Private Link、标头/URL 重写、WebSockets、HTTP/3、监视以及 AKS/Ingress 集成。
集成与编码模式L177-L186将 App Gateway 与 AKS、Key Vault、Prometheus/Grafana、Sentinel/Defender 集成,以及 HTTP 标头重写、请求镜像和通过网关指标自动缩放 Pod 的模式与脚本
部署L187-L199部署和缩放 Application Gateway 与 AGIC:通过门户/ARM/PowerShell 进行设置、IPv6 前端、启用/禁用 AKS 附加组件、迁移以及基于 Helm 的升级。
故障排除
主题URL
诊断 Application Gateway 中的后端运行状况状态https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-backend-health
使用 ALB Controller 后端运行状况和指标进行故障排除https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/alb-controller-backend-health-metrics
诊断并修复 Application Gateway for Containers 问题https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/troubleshooting-guide
最佳实践
主题URL
Azure Application Gateway 的运行状况探测行为和调优https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-probe-overview
为高流量场景规划 Application Gatewayhttps://learn.microsoft.com/en-us/azure/application-gateway/high-traffic-support
决策
主题URL
为 App Gateway for Containers 选择 AKS 网络https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/container-networking
决策并规划从 AGIC 迁移到 Application Gateway for Containershttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/migrate-from-agic-to-agc
估算并了解 Application Gateway for Containers 的定价https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/understanding-pricing
将 Azure Application Gateway 从 V1 迁移到 V2https://learn.microsoft.com/en-us/azure/application-gateway/migrate-v1-v2
Azure Application Gateway V1 停用和迁移常见问题解答https://learn.microsoft.com/en-us/azure/application-gateway/retirement-faq
规划从 Application Gateway V1 迁移到 V2https://learn.microsoft.com/en-us/azure/application-gateway/v1-retirement
决策并规划从经典虚拟机迁移到 Azure Resource Manager 虚拟机https://learn.microsoft.com/en-us/previous-versions/azure/virtual-machines/migration/migration-classic-resource-manager-faq
架构与设计模式
主题URL
选择 Application Gateway for Containers 中的负载均衡策略https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/load-balancing-strategies
限制与配额
主题URL
为 Application Gateway v2 配置自动缩放和区域冗余https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-autoscaling-zone-redundant
配置 Azure Application Gateway 上的多站点托管限制https://learn.microsoft.com/en-us/azure/application-gateway/multiple-site-overview
安全性
主题URL
在 Application Gateway 中配置特定于侦听器的 SSL 策略https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-configure-listener-specific-ssl-policy
为 Application Gateway 配置 TLS 策略和密码套件https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-configure-ssl-policy-powershell
在 Azure Application Gateway 上设置端到端 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-end-to-end-ssl-powershell
保护对 Azure Application Gateway 的仅限专用访问https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-private-deployment
保护 Application Gateway 会话关联 Cookie 标志https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-secure-flag-session-affinity
为 Azure Application Gateway 配置 TLS 策略https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-ssl-policy-overview
规划 Application Gateway 上 TLS 1.0/1.1 的停用https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-tls-version-retirement
为 Application Gateway 中的后端身份验证准备证书https://learn.microsoft.com/en-us/azure/application-gateway/certificates-for-backend-authentication
为 Application Gateway 配置 Key Vault TLS 终止https://learn.microsoft.com/en-us/azure/application-gateway/configure-key-vault-portal
通过门户在 Application Gateway 上设置端到端 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/end-to-end-ssl-portal
在 Application Gateway v2 上启用符合 FIPS 140 标准的模式https://learn.microsoft.com/en-us/azure/application-gateway/fips
为 Application Gateway for Containers 配置 ECDSA 和 RSA TLS 证书https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/ecdsa-rsa-certificates
为 Application Gateway for Containers 配置后端 mTLShttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-backend-mtls-gateway-api
在 Application Gateway for Containers 中使用 cert-manager 和 Let’s Encrypthttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-cert-manager-lets-encrypt-gateway-api
将 cert-manager 和 Let’s Encrypt 与 Application Gateway for Containers Ingress 集成https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-cert-manager-lets-encrypt-ingress-api
使用 Application Gateway for Containers 配置端到端 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-end-to-end-tls-gateway-api
使用 Application Gateway for Containers Ingress 配置端到端 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-end-to-end-tls-ingress-api
在 Application Gateway for Containers 上启用前端 mTLShttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-frontend-mtls-gateway-api
在 Application Gateway for Containers 上配置 SSL 卸载https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-ssl-offloading-gateway-api
使用 Application Gateway for Containers 的 Ingress API 配置 SSL 卸载https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-ssl-offloading-ingress-api
在 Application Gateway for Containers 上测试和配置 Web 应用程序防火墙https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-waf-gateway-api
将 Istio mTLS 与 Application Gateway for Containers 集成https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/service-mesh-integration
在 Application Gateway for Containers 上配置 Web 应用程序防火墙https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/web-application-firewall
使用 Application Gateway 重写添加 HSTS 安全标头https://learn.microsoft.com/en-us/azure/application-gateway/hsts-http-headers-portal
在 Application Gateway for AKS 中使用 Let's Encrypt 证书https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-letsencrypt-certificate-application-gateway
使用 Azure Application Gateway 和 Entra ID 配置 JWT 验证https://learn.microsoft.com/en-us/azure/application-gateway/json-web-token-overview
使用 Key Vault 证书配置 Application Gateway TLShttps://learn.microsoft.com/en-us/azure/application-gateway/key-vault-certs
导出 Application Gateway 客户端身份验证的受信任客户端 CA 证书链https://learn.microsoft.com/en-us/azure/application-gateway/mutual-authentication-certificate-management
在 Azure Application Gateway 上配置相互 TLS 身份验证https://learn.microsoft.com/en-us/azure/application-gateway/mutual-authentication-overview
通过门户在 Application Gateway 上配置相互 TLS 身份验证https://learn.microsoft.com/en-us/azure/application-gateway/mutual-authentication-portal
使用 PowerShell 在 Application Gateway 上配置相互 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/mutual-authentication-powershell
使用 Private Link 终结点保护 Application Gateway 访问https://learn.microsoft.com/en-us/azure/application-gateway/private-link
为 Azure Application Gateway 侦听器续订 TLS 证书https://learn.microsoft.com/en-us/azure/application-gateway/renew-certificates
为 Azure Application Gateway 生成自签名证书https://learn.microsoft.com/en-us/azure/application-gateway/self-signed-certificates
管理 Azure Application Gateway 中的侦听器 TLS 证书https://learn.microsoft.com/en-us/azure/application-gateway/ssl-certificate-management
使用 CLI 在 Application Gateway 上配置 TLS 终止https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ssl-cli
使用 PowerShell 在 Application Gateway 上配置 TLS 终止https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ssl-powershell
配置
主题URL
使用 PowerShell 在经典 Application Gateway 中配置自定义探测https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-create-probe-classic-ps
为 Azure Application Gateway 配置自定义运行状况探测https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-create-probe-ps
配置和解读 Application Gateway 诊断日志https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-diagnostics
创建和管理具有 ILB 终结点的 Application Gatewayhttps://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-ilb-arm
将 Azure Monitor 指标用于 Application Gatewayhttps://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-metrics
配置 Azure Application Gateway 前端 IP 地址https://learn.microsoft.com/en-us/azure/application-gateway/configuration-frontend-ip
配置 Azure Application Gateway 后端设置https://learn.microsoft.com/en-us/azure/application-gateway/configuration-http-settings
配置 Azure Application Gateway 网络基础结构https://learn.microsoft.com/en-us/azure/application-gateway/configuration-infrastructure
配置 Azure Application Gateway 侦听器和协议https://learn.microsoft.com/en-us/azure/application-gateway/configuration-listeners
配置 Azure Application Gateway 的核心组件https://learn.microsoft.com/en-us/azure/application-gateway/configuration-overview
配置 Azure Application Gateway 请求路由规则https://learn.microsoft.com/en-us/azure/application-gateway/configuration-request-routing-rules
通过模板为 Application Gateway 配置 Azure Monitor 警报https://learn.microsoft.com/en-us/azure/application-gateway/configure-alerts-with-templates
为 Application Gateway v1 配置专用前端 IPhttps://learn.microsoft.com/en-us/azure/application-gateway/configure-application-gateway-with-private-frontend-ip
配置使用 Azure App Service 后端的 Application Gatewayhttps://learn.microsoft.com/en-us/azure/application-gateway/configure-web-app
在 Azure Application Gateway 中创建自定义错误页https://learn.microsoft.com/en-us/azure/application-gateway/custom-error
使用 Helm chart 参数配置 ALB Controllerhttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/alb-controller-helm-chart
使用 Application Gateway for Containers 的 Kubernetes API 规范https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/api-specification-kubernetes
配置 Application Gateway for Containers 的核心组件https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/application-gateway-for-containers-components
将 Azure Monitor 指标与 Application Gateway for Containers 配合使用https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/application-gateway-for-containers-metrics
为 Application Gateway for Containers 配置自定义运行状况探测https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/custom-health-probe
为 Application Gateway for Containers 启用和使用诊断日志https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/diagnostics
在 Application Gateway for Containers 上启用并配置 gRPC 支持https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/grpc
在 Application Gateway for Containers 的 Gateway API 中配置 CORShttps://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-cors-gateway-api
在 Application Gateway for Containers 中配置 HTTP 标头重写规则https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-header-rewrite-gateway-api
使用 Ingress API 为 Application Gateway for Containers 配置 HTTP 标头重写https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-header-rewrite-ingress-api
配置 Application Gateway for Containers 推理网关https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-inference-gateway
在 Application Gateway for Containers 上配置多站点托管https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-multiple-site-hosting-gateway-api
使用 Ingress API 为 Application Gateway for Containers 配置多站点托管https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-multiple-site-hosting-ingress-api
在 Application Gateway for Containers 中设置路径、标头和查询字符串路由https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-path-header-query-string-routing-gateway-api
在 Application Gateway for Containers 中配置流量拆分和加权路由https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-traffic-splitting-gateway-api
在 Application Gateway for Containers 中配置 URL 重定向规则https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-url-redirect-gateway-api
使用 Ingress API 为 Application Gateway for Containers 配置 URL 重定向https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-url-redirect-ingress-api
在 Application Gateway for Containers 中配置 URL 重写规则https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-url-rewrite-gateway-api
使用 Ingress API 为 Application Gateway for Containers 配置 URL 重写https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-url-rewrite-ingress-api
在 Application Gateway for Containers 中配置 WebSocket 支持https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-websockets-gateway-api
通过 Helm chart 配置 ALB Service Mesh 扩展https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/service-mesh-helm-chart
为 Application Gateway for Containers 配置会话亲和性https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/session-affinity
将 WebSocket 协议与 Application Gateway for Containers 配合使用https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/websockets
在 Application Gateway 中启用并配置基于 QUIC 的 HTTP/3https://learn.microsoft.com/en-us/azure/application-gateway/http3-quic-support
通过 Application Gateway 为 AKS Pod 配置就绪探测和存活探测https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-add-health-probes
配置 Azure Application Gateway Ingress Controller 注释https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-annotations
使用 Application Gateway 配置基于 Cookie 的会话亲和性https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-cookie-affinity
使用 Application Gateway ingress 通过 HTTP/HTTPS 公开 AKS 服务https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-expose-service-over-http-https
使用 AGIC 通过 Application Gateway 公开 WebSocket 服务器https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-expose-websocket-server
在 Application Gateway Ingress Controller 中启用多命名空间支持https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-multiple-namespace-support
使用专用 IP 通过 AGIC 进行内部 ingress 路由https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-private-ip
使用 Application Gateway 和 Managed HSM 配置无密钥 TLShttps://learn.microsoft.com/en-us/azure/application-gateway/keyless-tls
使用 Azure Monitor 监视 Azure Application Gatewayhttps://learn.microsoft.com/en-us/azure/application-gateway/monitor-application-gateway
查看 Application Gateway 的监视指标和日志https://learn.microsoft.com/en-us/azure/application-gateway/monitor-application-gateway-reference
通过 ARM 在 Application Gateway 上配置 mTLS 直通https://learn.microsoft.com/en-us/azure/application-gateway/mutual-authentication-arm-template
在 Application Gateway 中使用基于参数的路径选择路由流量https://learn.microsoft.com/en-us/azure/application-gateway/parameter-based-path-selection-portal
为 Azure Application Gateway 配置 Private Linkhttps://learn.microsoft.com/en-us/azure/application-gateway/private-link-configure
在 Application Gateway 中配置请求和响应缓冲https://learn.microsoft.com/en-us/azure/application-gateway/proxy-buffers
使用 Application Gateway 第 4 层代理配置客户端 IP 保留https://learn.microsoft.com/en-us/azure/application-gateway/proxy-protocol-header
在 Azure Application Gateway 中配置流量重定向规则https://learn.microsoft.com/en-us/azure/application-gateway/redirect-overview
在 Application Gateway 门户中配置 HTTP 标头重写https://learn.microsoft.com/en-us/azure/application-gateway/rewrite-http-headers-portal
在 Application Gateway v2 上配置 HTTP 标头和 URL 重写https://learn.microsoft.com/en-us/azure/application-gateway/rewrite-http-headers-url
在 Application Gateway 中配置 URL 和查询字符串重写https://learn.microsoft.com/en-us/azure/application-gateway/rewrite-url-portal
创建 Application Gateway 并配置标头重写https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-http-header-rewrite-powershell
在 Application Gateway 中配置基于 URL 路径的路由https://learn.microsoft.com/en-us/azure/application-gateway/url-route-overview
集成与编码模式
主题URL
在 Application Gateway 中配置 HTTP 标头重写规则https://learn.microsoft.com/en-us/azure/application-gateway/add-http-header-rewrite-rule-powershell
通过 PowerShell 将 Key Vault 证书与 Application Gateway 集成https://learn.microsoft.com/en-us/azure/application-gateway/configure-keyvault-ps
使用 Application Gateway for Containers 配置请求镜像https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/how-to-request-mirroring-gateway-api
将 App Gateway for Containers 与 Prometheus 和 Grafana 集成https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/prometheus-grafana
将 Application Gateway for Containers 日志与 Microsoft Sentinel 和 Defender 集成https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/siem-integration-with-sentinel
使用 Application Gateway 指标自动缩放 AKS Podhttps://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-autoscale-pods
部署
主题URL
为 Application Gateway v2 配置外部管理的计划自动缩放https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-externally-managed-scheduled-autoscaling
通过门户部署 Azure Application Gateway Basichttps://learn.microsoft.com/en-us/azure/application-gateway/deploy-basic-portal
在 AKS 群集中禁用并重新启用 AGIC 加载项https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-disable-addon
使用现有的 Application Gateway 部署 AGIChttps://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-install-existing
使用新的 Application Gateway 实例部署 AGIChttps://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-install-new
将 AGIC 从 Helm 部署迁移到 AKS 加载项https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-migration
使用 Helm 升级 Application Gateway Ingress Controllerhttps://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-update-ingress-controller
Application Gateway IPv6 前端的 ARM 模板https://learn.microsoft.com/en-us/azure/application-gateway/ipv6-application-gateway-arm-template
使用 PowerShell 部署 Application Gateway IPv6 前端https://learn.microsoft.com/en-us/azure/application-gateway/ipv6-application-gateway-powershell
为现有 AKS 和 Application Gateway 启用 AGIC 加载项https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ingress-controller-add-on-existing

评论

支持 Markdown