Hongjian Li , Wei Rao , Baojian Hu , Yu Tian , Jie Shen
{"title":"Kubernetes云中微服务的能量感知弹性缩放算法","authors":"Hongjian Li , Wei Rao , Baojian Hu , Yu Tian , Jie Shen","doi":"10.1016/j.jnca.2025.104218","DOIUrl":null,"url":null,"abstract":"<div><div>Current elastic scaling algorithms are limited to the perspective of containers, and applications running within containers are treated as monolithic applications when designing scheduling algorithms. In addition, the default scaling mechanisms in Kubernetes fail to effectively distinguish and manage resource consumption of idle containers, leading to resource waste and degraded system performance. Therefore, this paper proposes an energy efficiency model based on Service Level Agreement (SLA) and an energy-aware elastic scaling algorithm based on SLA to reduce the energy consumption of microservices deployed in Kubernetes. The proposed algorithm optimizes the feedback control method in container provisioning by releasing excess container resources, and periodically runs the feedforward control algorithm and the feedback control algorithm to effectively deal with the dynamic changes of the workload. The experimental results show that the energy consumption of Kubernetes clusters in a cloud environment can be reduced by 15.34% compared with the default elastic scaling algorithms in Kubernetes and the latest algorithms.</div></div>","PeriodicalId":54784,"journal":{"name":"Journal of Network and Computer Applications","volume":"242 ","pages":"Article 104218"},"PeriodicalIF":8.0000,"publicationDate":"2025-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Energy-aware elastic scaling algorithm for microservices in Kubernetes clouds\",\"authors\":\"Hongjian Li , Wei Rao , Baojian Hu , Yu Tian , Jie Shen\",\"doi\":\"10.1016/j.jnca.2025.104218\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Current elastic scaling algorithms are limited to the perspective of containers, and applications running within containers are treated as monolithic applications when designing scheduling algorithms. In addition, the default scaling mechanisms in Kubernetes fail to effectively distinguish and manage resource consumption of idle containers, leading to resource waste and degraded system performance. Therefore, this paper proposes an energy efficiency model based on Service Level Agreement (SLA) and an energy-aware elastic scaling algorithm based on SLA to reduce the energy consumption of microservices deployed in Kubernetes. The proposed algorithm optimizes the feedback control method in container provisioning by releasing excess container resources, and periodically runs the feedforward control algorithm and the feedback control algorithm to effectively deal with the dynamic changes of the workload. The experimental results show that the energy consumption of Kubernetes clusters in a cloud environment can be reduced by 15.34% compared with the default elastic scaling algorithms in Kubernetes and the latest algorithms.</div></div>\",\"PeriodicalId\":54784,\"journal\":{\"name\":\"Journal of Network and Computer Applications\",\"volume\":\"242 \",\"pages\":\"Article 104218\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-06-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Network and Computer Applications\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S1084804525001158\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Network and Computer Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1084804525001158","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
Energy-aware elastic scaling algorithm for microservices in Kubernetes clouds
Current elastic scaling algorithms are limited to the perspective of containers, and applications running within containers are treated as monolithic applications when designing scheduling algorithms. In addition, the default scaling mechanisms in Kubernetes fail to effectively distinguish and manage resource consumption of idle containers, leading to resource waste and degraded system performance. Therefore, this paper proposes an energy efficiency model based on Service Level Agreement (SLA) and an energy-aware elastic scaling algorithm based on SLA to reduce the energy consumption of microservices deployed in Kubernetes. The proposed algorithm optimizes the feedback control method in container provisioning by releasing excess container resources, and periodically runs the feedforward control algorithm and the feedback control algorithm to effectively deal with the dynamic changes of the workload. The experimental results show that the energy consumption of Kubernetes clusters in a cloud environment can be reduced by 15.34% compared with the default elastic scaling algorithms in Kubernetes and the latest algorithms.
期刊介绍:
The Journal of Network and Computer Applications welcomes research contributions, surveys, and notes in all areas relating to computer networks and applications thereof. Sample topics include new design techniques, interesting or novel applications, components or standards; computer networks with tools such as WWW; emerging standards for internet protocols; Wireless networks; Mobile Computing; emerging computing models such as cloud computing, grid computing; applications of networked systems for remote collaboration and telemedicine, etc. The journal is abstracted and indexed in Scopus, Engineering Index, Web of Science, Science Citation Index Expanded and INSPEC.