DRS: A deep reinforcement learning enhanced Kubernetes scheduler for microservice‐based system

Author:

Jian Zhaolong1ORCID,Xie Xueshuo12,Fang Yaozheng1,Jiang Yibing1,Lu Ye3,Dash Ankan4,Li Tao12,Wang Guiling4

Affiliation:

1. College of Computer Science Nankai University Tianjin China

2. State Key Laboratory of Computer Architecture Institute of Computing Technology, Chinese Academy of Sciences Beijing China

3. College of Cyber Science Nankai University Tianjin China

4. Department of Computer Science New Jersey Institute of Technology Newark New Jersey USA

Abstract

SummaryRecently, Kubernetes is widely used to manage and schedule the resources of microservices in cloud‐native distributed applications, as the most famous container orchestration framework. However, Kubernetes preferentially schedules microservices to nodes with rich and balanced CPU and memory resources on a single node. The native scheduler of Kubernetes, called Kube‐scheduler, may cause resource fragmentation and decrease resource utilization. In this paper, we propose a deep reinforcement learning enhanced Kubernetes scheduler named DRS. We initially frame the Kubernetes scheduling problem as a Markov decision process with intricately designed state, action, and reward structures in an effort to increase resource usage and decrease load imbalance. Then, we design and implement DRS mointor to perceive six parameters concerning resource utilization and create a thorough picture of all available resources globally. Finally, DRS can automatically learn the scheduling policy through interaction with the Kubernetes cluster, without relying on expert knowledge about workload and cluster status. We implement a prototype of DRS in a Kubernetes cluster with five nodes and evaluate its performance. Experimental results highlight that DRS overcomes the shortcomings of Kube‐scheduler and achieves the expected scheduling target with three workloads. With only 3.27% CPU overhead and 0.648% communication delay, DRS outperforms Kube‐scheduler by 27.29% in terms of resource utilization and reduces load imbalance by 2.90 times on average.

Funder

National Key Research and Development Program of China

Publisher

Wiley

Subject

Software

Reference45 articles.

1. GuR ZhangK XuZ et al.Fluid: dataset abstraction and elastic acceleration for cloud‐native deep learning training jobs. Paper presented at: 2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE.2022:2182‐2195.

2. AI-Based Resource Management in Beyond 5G Cloud Native Environment

3. Distributed redundancy placement for microservice‐based applications at the edge;Zhao H;IEEE Trans Serv Comput,2020

4. A survey on microservice security‐trends in architecture, privacy and standardization on cloud computing environments;Monteiro A;Int J Adv Secur,2018

5. Adaptive Resource Efficient Microservice Deployment in Cloud-Edge Continuum

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Telemetry-Driven Microservices Orchestration in Cloud-Edge Environments;2024 IEEE 17th International Conference on Cloud Computing (CLOUD);2024-07-07

2. Graph Attention Networks and Deep Q-Learning for Service Mesh Optimization: A Digital Twinning Approach;ICC 2024 - IEEE International Conference on Communications;2024-06-09

3. CAROKRS: Cost-Aware Resource Optimization Kubernetes Resource Scheduler;2024 9th International Conference on Cloud Computing and Big Data Analytics (ICCCBDA);2024-04-25

4. Development of a Query Delay Injection System for the MEC Simulator of the LWMECPS Platform;2024 International Russian Smart Industry Conference (SmartIndustryCon);2024-03-25

5. ODRL: Reinforcement Learning in Priority Scheduling for Running Cost Optimization;2023 IEEE 29th International Conference on Parallel and Distributed Systems (ICPADS);2023-12-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3