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

将微服务与 AKS 配合使用

容器注册表
Azure DevOps
Kubernetes 服务
GitHub

解决方案构想 Solution Idea

若要查看有关详细信息、实现细节、定价指南或代码示例的信息,请向我们提供 GitHub 反馈If you'd like to see us expand this article with more information, implementation details, pricing guidance, or code examples, let us know with GitHub Feedback!

使用 AKS 来简化基于微服务的体系结构的部署和管理。Use AKS to simplify the deployment and management of microservices based architecture. AKS 优化了水平缩放、自我修复、负载平衡、密钥管理。AKS streamlines horizontal scaling, self-healing, load balancing, secret management.

体系结构Architecture

体系结构关系图 下载此体系结构的SVGArchitecture Diagram Download an SVG of this architecture.

数据流Data Flow

  1. 开发人员使用 IDE (如 Visual Studio)将更改提交到 GitHubDeveloper uses IDE such as Visual Studio to commit changes to GitHub
  2. GitHub 触发 Azure DevOps 上的新生成GitHub triggers a new build on Azure DevOps
  3. Azure DevOps 将微服务打包为容器并将其推送到 Azure 容器注册表Azure DevOps packages microservices as containers and pushes them to the Azure Container Registry
  4. 容器部署到 AKS 群集Containers are deployed to AKS cluster
  5. 用户通过应用和网站访问服务Users access services via apps and website
  6. Azure Active Directory 用于保护对资源的访问Azure Active Directory is used to secure access to the resources
  7. 微服务使用数据库存储和检索信息Microservices use databases to store and retrieve information
  8. 管理员通过单独的管理门户访问Administrator accesses via a separate admin portal

组件Components

后续步骤Next steps