azure-container-apps
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Container Apps Skill
Azure Container Apps 技能文档
This skill provides expert guidance for Azure Container Apps. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
本技能为Azure Container Apps提供专业指导,涵盖故障排查、最佳实践、决策制定、架构与设计模式、限制与配额、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取能力。
How to Use This 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
本技能需要网络访问权限以获取文档内容:
- 首选方式:使用 ,查询字符串为
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 | L37-L52 | Diagnosing and fixing Container Apps issues: debug console, logs, deployment/start/exit failures, image pulls, probes, storage mounts, ports, runtime/MCP/OCI errors. |
| Best Practices | L53-L59 | Deployment, cold-start, and runtime tuning guidance: blue-green rollouts, reducing scale-out latency, and optimizing Java memory usage in Azure Container Apps. |
| Decision Making | L60-L81 | Guidance on choosing Azure Container Apps plans, compute, GPUs, secrets, and environments, plus migration paths from legacy, Heroku, Java/Spring/Tomcat apps, and other Azure container hosting options. |
| Architecture & Design Patterns | L82-L87 | Architectures and patterns for Java microservices on Azure Container Apps, including Eureka HA clusters, AI-enabled PetClinic, and end-to-end microservice design best practices. |
| Limits & Quotas | L88-L94 | Quotas, limits, and scaling caps for Container Apps, plus how they behave at those limits and how to request quota increases from Azure support. |
| Security | L95-L133 | Securing Container Apps: auth (Entra, social, OIDC, certs), identities/secrets, TLS/domains, mTLS, Dapr security, network controls (NSG, firewall, egress), and policy/best practices. |
| Configuration | L134-L172 | Configuring Container Apps environments and apps: networking, ingress, revisions/traffic, workload profiles, storage, Dapr/KEDA/Functions scaling, Java features, logging/monitoring, and maintenance. |
| Integrations & Coding Patterns | L173-L197 | Patterns for connecting Container Apps to other services: microservice calls, Dapr, Spring components, Front Door/Private Link, OpenTelemetry exports, and AI code interpreter/dynamic sessions. |
| Deployment | L198-L207 | Deploying and automating Container Apps: CI/CD with GitHub Actions/Azure Pipelines, Docker Compose deployments, Arc-enabled Kubernetes, logging migration, and self-hosted runners/jobs. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排查 | L37-L52 | 诊断并修复Container Apps问题:调试控制台、日志、部署/启动/退出失败、镜像拉取、探针、存储挂载、端口、运行时/MCP/OCI错误。 |
| 最佳实践 | L53-L59 | 部署、冷启动和运行时调优指导:蓝绿部署、减少扩缩容延迟、优化Azure Container Apps中的Java内存使用。 |
| 决策制定 | L60-L81 | 关于选择Azure Container Apps计划、计算资源、GPU、密钥和环境的指导,以及从遗留系统、Heroku、Java/Spring/Tomcat应用和其他Azure容器托管选项迁移的路径。 |
| 架构与设计模式 | L82-L87 | Azure Container Apps上Java微服务的架构与模式,包括Eureka高可用集群、AI赋能的PetClinic以及端到端微服务设计最佳实践。 |
| 限制与配额 | L88-L94 | Container Apps的配额、限制和扩缩容上限,以及达到这些限制时的表现,还有如何向Azure支持申请配额提升。 |
| 安全 | L95-L133 | 保护Container Apps安全:身份验证(Entra、社交账号、OIDC、证书)、身份/密钥、TLS/域名、mTLS、Dapr安全、网络控制(NSG、防火墙、出口流量)以及策略/最佳实践。 |
| 配置 | L134-L172 | 配置Container Apps环境和应用:网络、入口、修订版本/流量、工作负载配置文件、存储、Dapr/KEDA/Functions扩缩容、Java特性、日志/监控和维护。 |
| 集成与编码模式 | L173-L197 | Container Apps与其他服务连接的模式:微服务调用、Dapr、Spring组件、Front Door/Private Link、OpenTelemetry导出以及AI代码解释器/动态会话。 |
| 部署 | L198-L207 | 部署和自动化Container Apps:使用GitHub Actions/Azure Pipelines的CI/CD、Docker Compose部署、Arc启用的Kubernetes、日志迁移以及自托管运行器/任务。 |
Troubleshooting
故障排查
Best Practices
最佳实践
| Topic | URL |
|---|---|
| Implement blue-green deployments in Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/blue-green-deployment |
| Apply cold-start reduction best practices in Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/cold-start |
| Optimize Java memory usage in Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/java-memory-fit |
| 主题 | URL |
|---|---|
| 在Container Apps中实现蓝绿部署 | https://learn.microsoft.com/en-us/azure/container-apps/blue-green-deployment |
| 在Container Apps中应用减少冷启动的最佳实践 | https://learn.microsoft.com/en-us/azure/container-apps/cold-start |
| 优化Azure Container Apps中的Java内存使用 | https://learn.microsoft.com/en-us/azure/container-apps/java-memory-fit |
Decision Making
决策制定
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Design a highly available Eureka cluster on Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/java-eureka-server-highly-available |
| Design microservices architecture on Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/microservices |
| 主题 | URL |
|---|---|
| 在Container Apps上设计高可用Eureka集群 | https://learn.microsoft.com/en-us/azure/container-apps/java-eureka-server-highly-available |
| 在Azure Container Apps上设计微服务架构 | https://learn.microsoft.com/en-us/azure/container-apps/microservices |
Limits & Quotas
限制与配额
| Topic | URL |
|---|---|
| Azure Container Apps limits and behavioral FAQs | https://learn.microsoft.com/en-us/azure/container-apps/faq |
| Request quota increases for Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/quota-requests |
| Review quotas and limits for Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/quotas |
| 主题 | URL |
|---|---|
| Azure Container Apps限制与行为常见问题 | https://learn.microsoft.com/en-us/azure/container-apps/faq |
| 申请提升Azure Container Apps配额 | https://learn.microsoft.com/en-us/azure/container-apps/quota-requests |
| 查看Azure Container Apps的配额与限制 | https://learn.microsoft.com/en-us/azure/container-apps/quotas |
Security
安全
Configuration
配置
Integrations & Coding Patterns
集成与编码模式
Deployment
部署
| Topic | URL |
|---|---|
| Enable Azure Container Apps on Arc-enabled Kubernetes clusters | https://learn.microsoft.com/en-us/azure/container-apps/azure-arc-enable-cluster |
| Automate Container Apps revisions with Azure Pipelines | https://learn.microsoft.com/en-us/azure/container-apps/azure-pipelines |
| Deploy Docker Compose agents to Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/compose-agent |
| Automate Container Apps revisions with GitHub Actions | https://learn.microsoft.com/en-us/azure/container-apps/github-actions |
| Generate Container Apps GitHub Actions via Azure CLI | https://learn.microsoft.com/en-us/azure/container-apps/github-actions-cli |
| Migrate Container Apps logging from Log Analytics to Azure Monitor | https://learn.microsoft.com/en-us/azure/container-apps/migrate-logs-azure-monitor |
| Run self-hosted CI/CD runners with Container Apps jobs | https://learn.microsoft.com/en-us/azure/container-apps/tutorial-ci-cd-runners-jobs |
| 主题 | URL |
|---|---|
| 在Arc启用的Kubernetes集群上启用Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/azure-arc-enable-cluster |
| 使用Azure Pipelines自动化Container Apps修订版本 | https://learn.microsoft.com/en-us/azure/container-apps/azure-pipelines |
| 将Docker Compose代理部署到Azure Container Apps | https://learn.microsoft.com/en-us/azure/container-apps/compose-agent |
| 使用GitHub Actions自动化Container Apps修订版本 | https://learn.microsoft.com/en-us/azure/container-apps/github-actions |
| 通过Azure CLI生成Container Apps GitHub Actions | https://learn.microsoft.com/en-us/azure/container-apps/github-actions-cli |
| 将Container Apps日志从Log Analytics迁移到Azure Monitor | https://learn.microsoft.com/en-us/azure/container-apps/migrate-logs-azure-monitor |
| 使用Container Apps任务运行自托管CI/CD运行器 | https://learn.microsoft.com/en-us/azure/container-apps/tutorial-ci-cd-runners-jobs |