您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

应用程序开发和部署Application development and deployment

检查应用程序开发的模式和实践,配置 Azure Pipelines,并 (SRE) 最佳做法实现站点可靠性工程。Examine patterns and practices of application development, configure Azure Pipelines, and implement site reliability engineering (SRE) best practices. 站点可靠性工程 (SRE) 是一种软件工程方法,用于开发和部署应用程序、更改管理、监视、紧急响应等。Site reliability engineering (SRE) is a software engineering approach to application development and deployment, change management, monitoring, emergency response, and more.

规划、训练和证明Plan, train, and proof

开始使用时,请使用以下部分中的清单和应用程序开发资源来帮助你规划应用程序的开发和部署。As you get started, use the checklist and application development resources in the following sections to help you plan your application development and deployment. 你应该能够回答以下问题:You should be able to answer these questions:

  • 是否已准备好应用程序开发环境和设置工作流?Have you prepared your application development environment and setup workflow?
  • 如何构造项目文件夹以支持 Kubernetes 应用程序开发?How will you structure the project folder to support Kubernetes application development?
  • 你是否确定了应用程序的状态、配置和存储要求?Have you identified state, configuration, and storage requirements of your application?

站点可靠性工程清单:Site reliability engineering checklist:

部署到生产环境并应用最佳实践Deploy to production and apply best practices

为生产准备应用程序时,请使用以下清单。As you prepare the application for production, use the following checklist. 你应该能够回答以下问题:You should be able to answer these questions:

  • 是否可以监视应用程序的所有方面?Can you monitor all aspects of your application?
  • 是否定义了应用程序的资源需求?Have you defined resource requirements for your application? 如何缩放要求?How about scaling requirements?
  • 是否可以在不影响生产系统的情况下部署新版本的应用程序?Can you deploy new versions of the application without affecting production systems?

SRE 最佳实践清单:SRE best practices checklist:

优化和缩放Optimize and scale

现在,应用程序已投入生产,如何优化工作流并准备应用程序和团队进行缩放?Now that the application is in production, how can you optimize your workflow and prepare your application and team to scale? 使用优化和缩放清单来准备。Use the optimization and scaling checklist to prepare. 你应该能够回答以下问题:You should be able to answer these questions:

  • 是否需要从应用程序中抽象出应用程序顾虑?Are cross-cutting application concerns abstracted from your application?
  • 是否能够维持系统和应用程序的可靠性,同时仍循环访问新功能和版本?Are you able to maintain system and application reliability, while still iterating on new features and versions?

应用程序部署清单:Application deployment checklist: