TAN Li,TAO Hongcai.An Improved Kubernetes Priority Algorithm based on Load Balancing[J].Journal of Chengdu University of Information Technology,2019,(03):228-231.[doi:10.16836/j.cnki.jcuit.2019.03.003]
一种基于负载均衡的Kubernetes调度改进算法
- Title:
- An Improved Kubernetes Priority Algorithm based on Load Balancing
- 文章编号:
- 2096-1618(2019)03-0228-04
- 关键词:
- 云计算; Kubernetes; 容器技术; 负载均衡
- Keywords:
- cloud computing; Kubernetes; container; load balancing
- 分类号:
- TP391.9
- 文献标志码:
- A
- 摘要:
- Kubernetes是云计算领域中的容器技术编排工具和集群管理系统,默认加载的预选算法和优选算法能将Pod对象调度到集群中合适的节点中运行。但Kubernetes调度算法使用的资源模型仅包括了CPU和内存,未考虑节点的性能。此外,在优选过程中,对于未设置CPU或内存下限的容器,无论节点的性能如何,Kubernetes都采用相同的默认值。针对上述不足,基于负载均衡对Kubernetes调度算法进行了改进,实验结果表明改进算法能提高Kubernetes集群的均衡效率。
- Abstract:
- Kubernetes is an orchestration tool and a cluster management system based on container in cloud computing area. The default predicate algorithms and priority algorithms in Kubernetes scheduler can schedule pod to a suitable node to run. However, the resource model used by the default algorithms just contains CPU and memory, and doesn't take the performance of node into account either. In addition, during the priority process, for the containers without the requests of CPU or memory, Kubernetes applies the same default values. Aiming at the shortcomings above, this paper proposes an improved priority algorithm based on load balancing. The experiment results show that the improved priority algorithm can enhance equilibrium efficiency.
参考文献/References:
[1] Wes Felter,Alexandre Ferreira,Ram Rajamony,et al.An Updated Performance Comparison of Virtual Machine and Linux Container[C].IEEE International Symposium on Performance Analysis of Systems and Software(ISPASS), 2015: 171-172.
[2] 武志学.云计算虚拟化技术的发展与趋势[J].计算机应用,2017,37(4):915-923.
[3] 闫健勇,龚正,吴治辉,等.Kubernetes权威指南[M].纪念版.北京:电子工业出版社,2017.
[4] 杜军.基于Kubernetes的云端资源调度器改进[D].杭州:浙江大学,2016.
[5] Sidra Aslam,Munam Ali Shah.Load balancing algorithms in cloud computing:A survey of modern techniques[C].National Software Engineering Conference(NSEC).2015:30-35.
[6] Wei Huang,Xin Li,Zhuzhong Qian.An Energy Efficient Virtual Machine Placement Algorithm with Balanced Resource Utilization[C].Seventh International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing,2013:313-319.
[7] Pradeep Kumar Tiwari,Sandeep Joshi.Dynamic Weighted Virtual Machine Live Migration Mechanism to Manages Load Balancing in Cloud Computing[C].IEEE International Conference on Computational Intelligence and Computing Research(ICCIC).2016:1-5.
[8] Linlin Tang,Pingfei Ren,Jengshyang Pan.An Improved K-Subset Algorithm for Load Balance Problems in Cloud Computing[C].IEEE 3rd International Conference on Cloud Computing and Intelligence Systems.2014:175-179.
[9] 张玉芳,魏钦磊,赵膺.基于负载权值的负载均衡算法[J].计算机应用研究,2012,29(12):4711-4713.
备注/Memo
收稿日期:2019-02-05 基金项目:国家自然科学基金资助项目(61505168)