• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 高性能计算 • 上一篇    下一篇

微服务环境下容器编排可视化实践研究

张丽敏,高晶,李务斌,刘晨   

  1. (北方工业大学计算机学院,北京 100144)
  • 收稿日期:2018-10-01 修回日期:2018-12-11 出版日期:2019-08-25 发布日期:2019-08-25
  • 基金资助:

    国家重点研发计划(2017YFC0804406)

Visualization of container orchestration
 in microservice environment

ZHANG Li-min,GAO Jing,LI Wu-bin,LIU Chen   

  1. (School of Computer Science,North China University of Technology,Beijing 100144,China)
  • Received:2018-10-01 Revised:2018-12-11 Online:2019-08-25 Published:2019-08-25

摘要:

伴随着云计算的快速发展,海量数据等业务需求的处理无法只依赖单体应用程序。微服务软件架构模式以其模块化、可扩展、高可用的应用优势为应用程序的开发带来了新的设计思路。容器是基于共享Linux内核、面向应用的一种新兴的轻量级虚拟化技术,以Docker为代表的容器技术为微服务提供了理想的载体。同时,以Kubernetes为代表的容器编排工具则极大地简化了容器化微服务创建、集成、部署、运维的整个流程。在开发和运维向“面向容器”的转变中,会带来数量庞大且关系复杂的服务组合,此时微服务的创建与部署则变得尤为重要。从易用性角度出发,提供了一种容器编排的可视化方法,实践分析显示,利用此方法进行的微服务部署不仅为研发人员提供了友好型服务创建界面,而且还便利了服务创建过程,提高了开发效率。

关键词: 微服务, Docker, 容器编排, Kubernetes, 可视化

Abstract:

With the rapid development of cloud computing, processing of massive data cannot depend on any single specific application program. The microservice software architecture model brings new design paradigms for the application development due to its modular, scalable, and highly available application advantages. Containers are an emerging lightweight virtualization technology, which are based on the shared Linux kernel and application-oriented. Container technologies (Docker, a typical representative) provide an ideal carrier for microservices. At the same time, container orchestration tools (Kubernetes, a typical representative) greatly simplify the entire process of creating, integrating, deploying, and maintaining containerized microservices. In the transition from “development and maintenance” to “container-oriented”, there will be large and complex combinations of services. Thus the creation and deployment of these microservices become even more important. Considering the usability, we present a visualization method for container orchestration. Experiments demonstrate that the microservice deployment using the proposed method not only provides a friendly service creation interface for developers, but also facilitates the service creation process and improves development efficiency.
 

Key words: microservice, Docker, container orchestration, Kubernetes, visualization