Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for realizing elastic expansion and contraction of number of cross-cluster containers

A technology of elastic scaling and implementation methods, applied in the cloud-native field, can solve problems such as limited resource scheduling, elastic scaling limited to clusters, application availability limited to clusters, etc., to achieve the effect of improving availability

Pending Publication Date: 2021-12-31
北京同创永益科技发展有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the simultaneous deployment and operation of k8s multi-clusters is inevitable. On the one hand, the hybrid cloud or multi-cloud architecture determines the need for multiple clusters; on the other hand, if there is only one cluster and the cluster fails, all services will be affected.
However, resource scheduling is currently limited by clusters, application availability is limited by clusters, and elastic scaling is limited by clusters. There is no mechanism for elastically scaling the number of containers across clusters.

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
  • Method and device for realizing elastic expansion and contraction of number of cross-cluster containers
  • Method and device for realizing elastic expansion and contraction of number of cross-cluster containers
  • Method and device for realizing elastic expansion and contraction of number of cross-cluster containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] This application provides a method and device for realizing elastic scalability of the number of cross-cluster containers. Note that simultaneous deployment and operation of multiple clusters of applications is inevitable. However, the existing elastic scaling technology for the number of containers is for a single cluster, and lacks cross-cluster elastic scaling technology.

[0043] This application is based on the distributed architecture of the Raft protocol to achieve elastic scaling of the number of cross-cluster containers, which effectively improves the automation of the number of containers when the business system is deployed in multiple clusters, ensuring that the application system always has a suitable capacity to meet the current traffic demand; and its own distribution The implementation of the multi-mode architecture also ensures the reliability of the scaling service; at the same time, multiple scaling service instances can perform elastic scaling detect...

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 provides a method and a device for realizing elastic expansion and contraction of number of cross-cluster containers. The method comprises the following steps: calling an API (Application Program Interface) of a scaling service instance in a leader role to configure an application needing scaling and a corresponding scaling strategy; the instance executing the scaling task obtains the monitoring index of the application in the cluster from the monitoring service, weighted averaging is carried out according to the number of copies, and a comprehensive index value is obtained through calculation; executing an instance of the scaling task, and when the comprehensive index value is not in a preset scaling threshold interval, calculating a reasonable copy number in each cluster according to a preset weight of each cluster and a maximum value and a minimum value of the copy number; and executing the instance of the scaling task, calling the API of the scaling strategy, and scaling the copy number of the to-be-processed application in the corresponding cluster. According to the invention, under the condition that the disaster recovery requirement is met, the availability of the service system is improved, and the application system is ensured to always have proper capacity so as to meet the current traffic demand.

Description

technical field [0001] This application relates to the field of cloud-native technology, and in particular, to a method and device for implementing elastic scaling of cross-cluster containers based on a distributed architecture in a cloud-native Kubernetes environment. Background technique [0002] With the advancement of enterprise digital transformation, cloud native has become an important engine driving business growth. As the de facto industry standard for cloud-native applications, Kubernetes (hereinafter referred to as k8s) provides an efficient unified management mechanism for containerized deployment, overall planning, construction and upgrade of enterprise resource applications. [0003] At present, the simultaneous deployment and operation of k8s multi-clusters is inevitable. On the one hand, the hybrid cloud or multi-cloud architecture determines the need for multiple clusters; on the other hand, if there is only one cluster and the cluster fails, all services wi...

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): G06F9/50G06F15/16
CPCG06F9/5072G06F15/161
Inventor 朱柯徐丽
Owner 北京同创永益科技发展有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products