Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Elastic scaling method based on Kubernetes cluster

An elastic scaling and clustering technology, applied in the computer field, can solve problems such as poor versatility of scaling strategies, interruption of service time, and longer user request time

Active Publication Date: 2022-06-17
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The scaling strategy at the node level is highly dependent on the underlying physical cluster or cloud platform. If the number of nodes in the physical cluster is too small, capacity expansion cannot be performed. However, the functions of the cloud platform and the settings and restrictions made by the cloud vendor related, resulting in poor versatility and limitations of these scaling strategies
[0005] 2. When implementing the service-level vertical scaling strategy, it is usually necessary to stop the operation of the original Pod first, and create a new Pod to carry the service according to the requirements of resource allocation. This process will cause the service to be interrupted for a certain period of time during operation.
[0006] 3. There is a certain lag in the responsive scaling strategy, which may lead to longer user request time and lower user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Elastic scaling method based on Kubernetes cluster
  • Elastic scaling method based on Kubernetes cluster
  • Elastic scaling method based on Kubernetes cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] For the convenience of those skilled in the art to understand the technical content of the present invention, the following technical terms are first defined:

[0027] Kubernetes: An open source container orchestration engine developed by Google, which supports automated deployment, large-scale scalability, and application containerized management.

[0028] Node: The smallest unit of computing hardware in Kubernetes, in most production systems, a node is likely to be a physical machine in a data center, or a virtual machine hosted on a cloud provider like Google Cloud Platform.

[0029] Prometheus: An open source monitoring alarm system and time series database developed by SoundCloud.

[0030] Node-exporter: In the Prometheus component, exporter is a program for data reporting, and its naming rules are all XX-exporter, where XX represents different services. The Node-exporter is responsible for collecting host information.

[0031] Prometheus Server: In the Prometheu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an elastic scaling method based on a Kubernetes cluster, is applied to the technical field of computers, and aims to overcome the defects of an elastic scaling strategy built in Kubernetes, predicts future workload according to historical index values of the cluster on the basis of a deep learning platform. The absolute value of the difference between the current index value and the predicted index value is compared with the set threshold value, so that the condition of frequent capacity expansion and shrinkage of the service in the cluster can be avoided; if the absolute value is larger than or equal to a set threshold value, it is considered that an index peak or an index valley is about to occur in the future, the service in the cluster is necessary to execute capacity expansion or capacity shrinkage operation, and meanwhile, a timer is further arranged for recording time consumption of one time of capacity expansion or capacity shrinkage operation; in order to avoid the conflict between the current capacity expansion and contraction operation and the previous capacity expansion and contraction operation, a time threshold value is also set, and the capacity expansion or contraction operation is carried out only when the value of the timer is greater than or equal to the time threshold value.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a container elastic scaling technology. Background technique [0002] In a Kubernetes cluster, elastic scaling is mainly used to solve two unexpected problems in engineering systems: one problem is that due to excessive system traffic and increased system load in the short term, it is necessary to expand the specified service to ensure the stability of the system The other problem is that due to the low utilization rate of various resources in the system, the specified service needs to be scaled down, thereby improving the utilization rate of system resources and ensuring the rational use of system resources. [0003] The built-in elastic scaling policy of Kubernetes has the following shortcomings: [0004] 1. The scaling strategy at the node level has a strong dependence on the underlying physical cluster or cloud platform. If the number of nodes in the physical c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F11/32G06N3/04G06N3/08
CPCG06F11/3006G06F11/3058G06F11/324G06N3/08G06N3/044G06N3/045Y02D10/00
Inventor 匡平石华馨
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products