Computer and Modernization

Previous Articles     Next Articles

A Horizontal Elastic Expansion and Contraction System Based on Kubernetes

  

  1. (1. School of Computer and Information Engineering, Henan University, Kaifeng 475001, China;
    2. ZTE Corporation, Nanjing 210012, China)
  • Received:2019-01-10 Online:2019-07-05 Published:2019-07-08

Abstract: The birth of Kubernetes has reduced application developers’ reliance on infrastructure and operations teams, it provides powerful tools for orchestrating and scheduling containers and virtual machines, which has become the de facto standard for the development and management of distributed cluster systems. Kubernetes monitors CPU and memory usage in the cluster through the core component HPA (horizontal pod autoscaler), and scales and shrinks the microservice cluster based on these metrics. However, these simple metrics can not meet the expansion and contraction requirements of the actual application. Although the improvements have been made in the latest version of the community, the actual results are still unsatisfactory. Based on the original platform, this paper designs a superimposed elastic expansion and contraction system E-HPA to make up for the defects and shortcomings of Kubernetes in horizontal elastic expansion and contraction, which can provide rich user-customizable metrics through flexible and simple configuration. The design ideas and specific implementation details of the system are expounded, and the experimental results are verified by taking the telecom business application as an example.

Key words: Kubernetes, infrastructure, operation, container, distributed cluster, elastic expansion and contraction

CLC Number: