Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

DRS: A Deep Reinforcement Learning enhanced Kubernetes Scheduler for Microservice-based System

View through CrossRef
Recently, 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. To improve resource utilization and reduce load imbalance, we first present the Kubernetes scheduling problem as a Markov decision process and elaborately designed the state, action, and reward. Then, we design and implement DRS mointor to perceive six metrics about resource utilization to construct a comprehensive global resource view. 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 achieve the expected scheduling target with three workloads. Compared with Kube-scheduler, DRS brings an improvement of 27.29% in resource utilization and reduce the load imbalance by 2 .90× on average, with only 3.27% CPU overhead and 0.648% communication latency.
Title: DRS: A Deep Reinforcement Learning enhanced Kubernetes Scheduler for Microservice-based System
Description:
Recently, 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.
To improve resource utilization and reduce load imbalance, we first present the Kubernetes scheduling problem as a Markov decision process and elaborately designed the state, action, and reward.
Then, we design and implement DRS mointor to perceive six metrics about resource utilization to construct a comprehensive global resource view.
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 achieve the expected scheduling target with three workloads.
Compared with Kube-scheduler, DRS brings an improvement of 27.
29% in resource utilization and reduce the load imbalance by 2 .
90× on average, with only 3.
27% CPU overhead and 0.
648% communication latency.

Related Results

Service Call Chain Analysis for Microservice Systems
Service Call Chain Analysis for Microservice Systems
<p>Industrial practitioners widely adopt the microservice architecture to build applications. An application with microservice architecture can be composed of a set of indivi...
Zynerator: Bridging Model-Driven Architecture and Microservices for Enhanced Software Development
Zynerator: Bridging Model-Driven Architecture and Microservices for Enhanced Software Development
Model-driven architecture (MDA) has demonstrated significant potential in automating code generation processes, yet its application often falls short in addressing the complexities...
Modeling and Verifying Microservice Autoscaling Using Probabilistic Model Checking
Modeling and Verifying Microservice Autoscaling Using Probabilistic Model Checking
Abstract Microservices can independently adjust their capacity to match demand while the autoscaling feature in cloud computing facilitates the users (i.e., developers) to ...
The Effect of Compression Reinforcement on the Shear Behavior of Concrete Beams with Hybrid Reinforcement
The Effect of Compression Reinforcement on the Shear Behavior of Concrete Beams with Hybrid Reinforcement
Abstract This study examines the impact of steel compression reinforcement on the shear behavior of concrete beams reinforced with glass fiber reinforced polymer (GFRP) bar...
Deep convolutional neural network and IoT technology for healthcare
Deep convolutional neural network and IoT technology for healthcare
Background Deep Learning is an AI technology that trains computers to analyze data in an approach similar to the human brain. Deep learning algorithms can find complex patterns in ...
A IEEE 802.11e HCCA Scheduler with a Reclaiming Mechanism for Multimedia Applications
A IEEE 802.11e HCCA Scheduler with a Reclaiming Mechanism for Multimedia Applications
The QoS offered by the IEEE 802.11e reference scheduler is satisfactory in the case of Constant Bit Rate traffic streams, but not yet in the case of Variable Bit Rate traffic strea...
Study on Scheme Optimization of bridge reinforcement increasing ratio
Study on Scheme Optimization of bridge reinforcement increasing ratio
Abstract The bridge reinforcement methods, each method has its advantages and disadvantages. The load-bearing capacity of bridge members is controlled by the ultimat...
A Time Series-Based Approach to Elastic Kubernetes Scaling
A Time Series-Based Approach to Elastic Kubernetes Scaling
With the increasing popularity of cloud-native architectures and containerized applications, Kubernetes has become a critical platform for managing these applications. However, Kub...

Back to Top