首页 | 本学科首页   官方微博 | 高级检索  
     

基于Kubernetes的AI调度引擎平台
引用本文:刘祥,胡瑞敏,王海滨. 基于Kubernetes的AI调度引擎平台[J]. 计算机系统应用, 2023, 32(8): 86-94
作者姓名:刘祥  胡瑞敏  王海滨
作者单位:西安电子科技大学 广州研究院, 广州 510555;西安电子科技大学 杭州研究院, 杭州 311231;厦门市美亚柏科信息股份有限公司, 厦门 361008
摘    要:文中介绍了基于Kubernetes的AI调度引擎平台的设计与实现, 针对当前人工智能调度系统中存在的服务配置复杂, 集群中各节点计算资源利用率不均衡以及系统运维成本高等问题, 本文提出了基于Kubernetes实现容器调度和服务管理的解决方案. 结合AI调度引擎平台的需求, 从功能实现和平台架构等方面设计该平台的各个模块. 同时, 针对Kubernetes无法感知GPU资源的问题, 引入device plugin收集集群中每个节点上的GPU信息并上报给调度器. 此外, 针对Kubernetes调度策略中优选算法只考虑节点本身的资源使用率和均衡度, 未考虑不同类型的应用对节点资源的需求差异, 提出了基于皮尔逊相关系数 (Pearson correlation coefficient, PCC)的优选算法, 通过计算容器资源需求量与节点资源使用率的互补度来决定Pod的调度, 从而保证调度完成后各节点的资源均衡性.

关 键 词:Kubernetes|容器|调度|皮尔逊相关系数
收稿时间:2023-01-09
修稿时间:2023-02-09

AI Scheduling Engine Platform Based on Kubernetes
LIU Xiang,HU Rui-Min,WANG Hai-Bin. AI Scheduling Engine Platform Based on Kubernetes[J]. Computer Systems& Applications, 2023, 32(8): 86-94
Authors:LIU Xiang  HU Rui-Min  WANG Hai-Bin
Affiliation:Guangzhou Institution of Technology, Xidian University, Guangzhou 510555, China;Hangzhou Institution of Technology, Xidian University, Hangzhou 311231, China; Xiamen Meiya Baike Information Co. Ltd., Xiamen 361008, China
Abstract:The design and realization of the AI scheduling engine platform based on Kubernetes is introduced in this paper. To tackle the problems of complex service configuration, the unbalanced utilization rate of computing resources of each node in the cluster and the high cost of system operation and maintenance in the current AI scheduling system, this study proposes a solution based on Kubernetes to implement container scheduling and service management. Combined with the requirements of the AI scheduling engine platform, the various modules of the platform are designed from such aspects as function implementation and platform architecture. At the same time, given the problem that Kubernetes cannot perceive GPU resources, Device Plugin is introduced to collect GPU information on each node in the cluster and report it to the scheduler. In addition, as priority algorithms in Kubernetes scheduling strategy only considers the resource utilization rate and balance degree of the node itself, disregarding the differences in the demand of different types of applications for node resources, priority algorithms based on Pearson correlation coefficient (PCC) is put forward. The scheduling of Pod is determined by calculating the complementary degree of container resources demand and node resource utilization rate, thus ensuring the resource balance of each node after the scheduling.
Keywords:Kubernetes|container|schedule|Pearson correlation coefficient (PCC)
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号