azure-container-instances
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Container Instances Skill
Azure Container Instances Skill
This skill provides expert guidance for Azure Container Instances. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本Skill为Azure Container Instances提供专业指导,涵盖故障排查、最佳实践、决策制定、架构与设计模式、限制与配额、安全、配置和部署。它结合了本地快速参考内容与远程文档获取能力。
How to Use This Skill
如何使用本Skill
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent注意事项:使用下方的分类索引查找相关章节。对于带有行范围的分类(例如),使用L35-L120读取指定行。对于带有文件链接的分类(例如read_file),使用[security.md](security.md)读取链接的参考文件read_file
本Skill需要网络访问权限来获取文档内容:
- 首选方式:使用,查询字符串为
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备用方式:使用,查询字符串为
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L36-L42 | Diagnosing ACI issues by viewing logs/events, understanding provisioning/runtime states, and troubleshooting common deployment, startup, and container runtime failures. |
| Best Practices | L43-L47 | Guidance on designing and running ACI workloads reliably: resource sizing, networking, storage, security, scaling, image management, and operational best practices. |
| Decision Making | L48-L53 | Guidance on cost-optimizing ACI with Spot containers and using prediction-based sizing to configure and right-size Azure Container Instances standby pools. |
| Architecture & Design Patterns | L54-L60 | Design patterns for giving ACI containers static inbound/outbound IPs using Application Gateway, firewalls, and NAT Gateway for controlled, predictable network egress/ingress. |
| Limits & Quotas | L61-L68 | ACI limits on CPU/memory, regional quotas, standby pool constraints, and how virtual network integration affects capacity and resource availability. |
| Security | L69-L83 | Securing Azure Container Instances: TLS/HTTPS setup, image and secret protection, managed identities, RBAC, DNS safety, ACR auth, CMK encryption, and Azure Policy enforcement. |
| Configuration | L84-L116 | Configuring ACI container groups: YAML, env vars, DNS, volumes, probes, GPUs, restart/entrypoint, standby pools, networking, lifecycle, logging, and monitoring. |
| Deployment | L117-L120 | Using GitHub Actions to build, push, and automatically deploy container images to Azure Container Instances, including workflow YAML setup and authentication configuration. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排查 | L36-L42 | 通过查看日志/事件、了解预配/运行时状态,排查常见的部署、启动和容器运行时故障,诊断ACI问题。 |
| 最佳实践 | L43-L47 | 关于可靠设计和运行ACI工作负载的指导:资源规划、网络、存储、安全、扩展、镜像管理和运维最佳实践。 |
| 决策制定 | L48-L53 | 指导如何通过Spot容器优化ACI成本,以及使用基于预测的规划来配置和合理调整Azure Container Instances备用池的规模。 |
| 架构与设计模式 | L54-L60 | 使用Application Gateway、防火墙和NAT Gateway为ACI容器提供静态入站/出站IP的设计模式,实现可控、可预测的网络出/入站流量。 |
| 限制与配额 | L61-L68 | ACI在CPU/内存、区域配额、备用池约束方面的限制,以及虚拟网络集成如何影响容量和资源可用性。 |
| 安全 | L69-L83 | 保护Azure Container Instances:TLS/HTTPS设置、镜像和密钥保护、托管标识、RBAC、DNS安全、ACR认证、CMK加密和Azure Policy实施。 |
| 配置 | L84-L116 | 配置ACI容器组:YAML、环境变量、DNS、卷、探针、GPU、重启/入口点、备用池、网络、生命周期、日志和监控。 |
| 部署 | L117-L120 | 使用GitHub Actions构建、推送并自动将容器镜像部署到Azure Container Instances,包括工作流YAML设置和身份验证配置。 |
Troubleshooting
故障排查
| Topic | URL |
|---|---|
| Retrieve Azure Container Instances logs and events for troubleshooting | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-get-logs |
| Troubleshoot common deployment and runtime issues in Azure Container Instances | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-troubleshooting |
| Interpret Azure Container Instances provisioning and runtime states | https://learn.microsoft.com/en-us/azure/container-instances/container-state |
| 主题 | URL |
|---|---|
| 检索Azure Container Instances日志和事件以进行故障排查 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-get-logs |
| 排查Azure Container Instances中常见的部署和运行时问题 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-troubleshooting |
| 解读Azure Container Instances的预配和运行时状态 | https://learn.microsoft.com/en-us/azure/container-instances/container-state |
Best Practices
最佳实践
| Topic | URL |
|---|---|
| Apply Azure Container Instances workload best practices | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-best-practices-and-considerations |
| 主题 | URL |
|---|---|
| 应用Azure Container Instances工作负载最佳实践 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-best-practices-and-considerations |
Decision Making
决策制定
| Topic | URL |
|---|---|
| Decide when to use ACI Spot containers for cost savings | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-spot-containers-overview |
| Use prediction results to right-size Azure Container Instances standby pools | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-prediction-results |
| 主题 | URL |
|---|---|
| 决定何时使用ACI Spot容器以节省成本 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-spot-containers-overview |
| 使用预测结果合理调整Azure Container Instances备用池规模 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-prediction-results |
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Expose Azure Container Instances via Application Gateway static IP | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-application-gateway |
| Configure static outbound IP for Azure Container Instances with firewall | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-egress-ip-address |
| Configure Azure Container Instances egress via NAT Gateway | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-nat-gateway |
| 主题 | URL |
|---|---|
| 通过Application Gateway静态IP暴露Azure Container Instances | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-application-gateway |
| 使用防火墙为Azure Container Instances配置静态出站IP | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-egress-ip-address |
| 通过NAT Gateway配置Azure Container Instances出站流量 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-nat-gateway |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Use Big Containers with ACI vCPU and memory limits | https://learn.microsoft.com/en-us/azure/container-instances/big-containers |
| Check ACI resource availability and quota limits by region | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-resource-and-quota-limits |
| FAQ and limits for Azure Container Instances standby pools | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-faq |
| Use Azure Container Instances with virtual networks | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-virtual-network-concepts |
| 主题 | URL |
|---|---|
| 在ACI vCPU和内存限制下使用大型容器 | https://learn.microsoft.com/en-us/azure/container-instances/big-containers |
| 按区域检查ACI资源可用性和配额限制 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-resource-and-quota-limits |
| Azure Container Instances备用池的常见问题和限制 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-standby-pool-faq |
| 在虚拟网络中使用Azure Container Instances | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-virtual-network-concepts |
Security
安全
Configuration
配置
Deployment
部署
| Topic | URL |
|---|---|
| Automate ACI deployments with GitHub Actions workflow configuration | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-github-action |
| 主题 | URL |
|---|---|
| 使用GitHub Actions工作流配置自动化ACI部署 | https://learn.microsoft.com/en-us/azure/container-instances/container-instances-github-action |