[go: up one dir, main page]

CN108769100A - A kind of implementation method and its device based on kubernetes number of containers elastic telescopics - Google Patents

A kind of implementation method and its device based on kubernetes number of containers elastic telescopics Download PDF

Info

Publication number
CN108769100A
CN108769100A CN201810288311.0A CN201810288311A CN108769100A CN 108769100 A CN108769100 A CN 108769100A CN 201810288311 A CN201810288311 A CN 201810288311A CN 108769100 A CN108769100 A CN 108769100A
Authority
CN
China
Prior art keywords
pod
service
container cluster
access
service access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810288311.0A
Other languages
Chinese (zh)
Inventor
刘娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810288311.0A priority Critical patent/CN108769100A/en
Publication of CN108769100A publication Critical patent/CN108769100A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供一种基于kubernetes容器数量弹性伸缩的实现方法及其装置,包括:获取容器集群的不同服务的访问数量;获取容器集群各POD的负载情况,根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量;确定POD不同服务访问可处理量的阀值,当容器集群的服务访问数量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整,通过监控业务请求数量和处理业务POD的总体负载情况,计算出需要调整的POD数量,然后根据kubernetes动态调整POD数量,当业务高峰期,快速增加POD数量,以达到分流减压的作用;当业务平缓期,关闭多余POD节省服务器资源,提高了容器运行的效率与稳定性,增强了对基于Kubernetes容器集群管理系统中的资源调度效率。

This application provides a method and device for implementing elastic scaling based on the number of kubernetes containers, including: obtaining the number of visits of different services of the container cluster; obtaining the load status of each POD of the container cluster, and determining each The maximum number of service visits carried by POD under the service; determine the threshold of the amount of POD different service visits that can be processed. When the index of the number of service visits in the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers. Through monitoring Calculate the number of PODs that need to be adjusted according to the number of business requests and the overall load of the PODs that handle the business, and then dynamically adjust the number of PODs according to kubernetes. , closing redundant PODs saves server resources, improves the efficiency and stability of container operation, and enhances the efficiency of resource scheduling in the Kubernetes-based container cluster management system.

Description

一种基于kubernetes容器数量弹性伸缩的实现方法及其装置A method and device for implementing elastic scaling based on the number of kubernetes containers

技术领域technical field

本发明涉及云计算技术领域,特别是涉及一种基于kubernetes容器数量弹性伸缩的实现方法及其装置。The present invention relates to the technical field of cloud computing, in particular to a method and device for implementing elastic scaling based on the number of kubernetes containers.

背景技术Background technique

Kubernetes是基于容器的集群管理系统,主要包括Service、ReplicationController和Pod等组件,它构建于Docker等容器之上,其提供应用部署、维护、扩展机制等功能,利用Kubernetes能方便地管理跨机器运行容器化的应用。Deployment作为kubernetes的核心管理进程,它负责管理POD(kubernetes系统中容器的别称)的整个生命周期,在deploment的定义脚本中可以自定义POD数量,通过自动检测机制,让kubernetes系统中的POD数量一致维持在定义好的数量。当有POD发生异常无法使用,会创建新的POD代替异常POD继续工作;当异常POD回复正常时候,又会将多余的POD杀掉。这种deploment的定义脚本的自动检测机制只是通过脚本中定义的数字来维护POD数量,无法做到根据业务压力起伏来动态调整POD数量。Kubernetes is a container-based cluster management system. It mainly includes components such as Service, ReplicationController, and Pod. It is built on containers such as Docker. It provides functions such as application deployment, maintenance, and expansion mechanisms. Using Kubernetes can easily manage containers running across machines. application. Deployment is the core management process of kubernetes. It is responsible for managing the entire life cycle of POD (another name for containers in the kubernetes system). The number of PODs can be customized in the definition script of deployment. Through the automatic detection mechanism, the number of PODs in the kubernetes system is consistent. maintained at a defined quantity. When a POD is abnormal and cannot be used, a new POD will be created to replace the abnormal POD to continue working; when the abnormal POD returns to normal, the redundant POD will be killed. The automatic detection mechanism of the deploment's definition script only maintains the number of PODs through the numbers defined in the script, and cannot dynamically adjust the number of PODs according to the fluctuation of business pressure.

因此,亟需一种基于kubernetes容器数量弹性伸缩的实现方法及其装置,能够根据监控业务请求数量和处理业务POD的总体负载情况对POD数量进行动态调整。Therefore, there is an urgent need for an implementation method and device based on elastic scaling of the number of kubernetes containers, which can dynamically adjust the number of PODs according to the number of monitoring service requests and the overall load of the service PODs.

发明内容Contents of the invention

针对现有技术的不足,本发明提供了一种基于kubernetes容器数量弹性伸缩的实现方法及其装置,能够监控业务请求数量和处理业务POD的总体负载情况,动态调整POD 数量,当业务高峰期,快速增加POD数量,以达到分流减压的作用;当业务平缓期,关闭多余POD节省服务器资源。Aiming at the deficiencies of the prior art, the present invention provides a method and device based on elastic expansion and contraction of the number of kubernetes containers, which can monitor the number of business requests and the overall load of PODs for processing business, dynamically adjust the number of PODs, and when the business peak period, Rapidly increase the number of PODs to achieve the effect of diversion and decompression; when the business is calm, close redundant PODs to save server resources.

第一方面,提供一种基于kubernetes容器数量弹性伸缩的实现方法,包括:In the first aspect, an implementation method for elastic scaling based on the number of kubernetes containers is provided, including:

获取容器集群的不同服务的访问数量;Obtain the number of visits of different services of the container cluster;

获取容器集群各POD的负载情况,根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量;Obtain the load status of each POD in the container cluster, and determine the maximum number of service accesses carried by the POD under each service according to the load status of each POD;

确定POD不同服务访问可处理量的阀值,当容器集群的服务访问数量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整(新增或删除容器)。Determine the threshold value of the processable amount of POD different service accesses. When the index of the number of service accesses in the container cluster reaches the set threshold, the dynamic adjustment mechanism is triggered to adjust the number of containers (add or delete containers).

其中,所述获取容器集群的不同服务的访问数量,包括通过负载均衡器方法到不同服务器上的对应服务,对于某个服务的访问数量,可以通过附加均衡器获取。Wherein, the acquisition of the number of visits of different services of the container cluster includes accessing corresponding services on different servers through a load balancer method, and the number of visits of a certain service may be obtained through an additional balancer.

其中,所述获取容器集群各POD的负载情况,根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量包括:Wherein, the acquiring the load status of each POD of the container cluster, and determining the maximum number of service visits carried by the POD under each service according to the load status of each POD include:

通过POD所在的宿主机上kubelet组件获得各POD的负载情况,比如CPU的使用量、内存的使用量,通过标签分类统计POD的CPU、内存使用量平均值获取各服务POD的负载情况,进而确定各服务下POD最多承载的服务访问数量。Obtain the load status of each POD through the kubelet component on the host where the POD is located, such as CPU usage and memory usage, and obtain the load status of each service POD through label classification and statistics of the average CPU and memory usage of the POD, and then determine The maximum number of service accesses carried by the POD under each service.

其中,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整(新增或删除容器)包括:Among them, determine the threshold value of the processable access volume of different POD services. When the index of service access volume of the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers (addition or deletion of containers), including:

根据容器运行时的最大CPU使用率或最大内存使用率确定POD服务访问可处理量阈值的上限和下限。Determine the upper and lower limits of the POD service access throughput threshold based on the maximum CPU usage or maximum memory usage when the container is running.

其中,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整包括:Among them, determine the threshold value of the processable access volume of different POD services. When the index of service access volume of the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers, including:

根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否大于所述POD服务访问可处理量阈值的上限;若是,则向deployment组件发送扩容指令增加POD数量。According to the access quantity of different services of the obtained container cluster and the determined threshold of the POD different service access throughput, it is judged whether the service access volume of the container cluster is greater than the upper limit of the POD service access throughput threshold; if so, Then send expansion commands to the deployment component to increase the number of PODs.

其中,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整包括:Among them, determine the threshold value of the processable access volume of different POD services. When the index of service access volume of the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers, including:

根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否小于所述POD服务访问可处理量阈值的下限;若是,则向deployment组件发送缩容指令减少POD数量。According to the access quantity of different services of the obtained container cluster and the determined threshold of the POD different service access throughput, it is judged whether the service access volume of the container cluster is less than the lower limit of the POD service access throughput threshold; if so, Then send a shrink command to the deployment component to reduce the number of PODs.

第二方面,提供一种基于kubernetes容器数量弹性伸缩的实现装置,包括:In the second aspect, an implementation device for elastic scaling based on the number of kubernetes containers is provided, including:

获取单元,所述获取单元用于获取容器集群的不同服务的访问数量;所述获取单元还用于获取容器集群各POD的负载情况;An acquisition unit, the acquisition unit is used to acquire the number of visits of different services of the container cluster; the acquisition unit is also used to acquire the load situation of each POD of the container cluster;

确定单元,所述确定单元用于根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量;所述确定单元还用于确定POD不同服务访问可处理量的阀值;A determination unit, the determination unit is used to determine the maximum number of service visits carried by the POD under each service according to the load situation of each POD; the determination unit is also used to determine the threshold value of the processable amount of POD different service visits;

弹性伸缩管理单元,所述弹性伸缩管理单元当判定容器集群的服务访问量的指标达到设定阈值后,触发动态调整机制对容器数量进行调整(新增或删除容器)。The elastic scaling management unit triggers a dynamic adjustment mechanism to adjust the number of containers (adding or deleting containers) after determining that the index of service visits of the container cluster reaches a set threshold.

其中,所述获取单元用于通过负载均衡器方法到不同服务器上的对应服务,对于某个服务的访问数量,可以通过附加均衡器获取。Wherein, the obtaining unit is used to obtain corresponding services on different servers through a load balancer method, and the number of visits to a certain service can be obtained through an additional balancer.

其中,所述确定单元用于根据POD所在的宿主机上kubelet组件获得各POD的负载情况,比如CPU的使用量、内存的使用量,通过标签分类统计POD的CPU、内存使用量平均值获取各服务POD的负载情况,进而确定各服务下POD最多承载的服务访问数量。Wherein, the determination unit is used to obtain the load status of each POD according to the kubelet component on the host machine where the POD is located, such as the usage of CPU and the usage of memory, and obtain the average value of the CPU and memory usage of the POD through label classification and statistics. The load of the service POD, and then determine the maximum number of service accesses carried by the POD under each service.

其中,所述确定单元用于根据容器运行时的最大CPU使用率或最大内存使用率确定POD 服务访问可处理量阈值的上限和下限。Wherein, the determination unit is configured to determine the upper limit and lower limit of the POD service access throughput threshold according to the maximum CPU usage or the maximum memory usage when the container is running.

其中,所述弹性伸缩管理单元包括:Wherein, the elastic scaling management unit includes:

第一判断单元,根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否大于POD服务访问可处理量阈值的上限;若是,则向deployment组件发送扩容指令增加POD数量;The first judging unit judges whether the service access volume of the container cluster is greater than the upper limit of the POD service access throughput threshold according to the acquired access quantity of different services of the container cluster and the determined threshold value of the processable amount of different service accesses of the POD ; If so, send an expansion command to the deployment component to increase the number of PODs;

其中,所述弹性伸缩管理单元还包括:Wherein, the elastic scaling management unit also includes:

第二判断单元,用于根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否小于所述POD服务访问可处理量阈值的下限;若是,则向deployment组件发送缩容指令减少POD数量。The second judging unit is configured to judge whether the service access volume of the container cluster is less than the POD service access processable amount according to the obtained access quantity of different services of the container cluster and the determined threshold value of the processable amount of different service accesses of the POD The lower limit of the volume threshold; if so, send a shrink command to the deployment component to reduce the number of PODs.

第三方面,提供一种受控终端,包括:处理器;用于存储处理器的执行指令的存储器;其中,所述处理器被配置为第一方面或第一方面任一种可能的实现方式。In a third aspect, there is provided a controlled terminal, including: a processor; a memory for storing execution instructions of the processor; wherein, the processor is configured as the first aspect or any possible implementation of the first aspect .

第四方面,提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer storage medium is provided, and instructions are stored in the computer-readable storage medium, and when run on a computer, the computer is made to execute the methods described in the above aspects.

第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fifth aspect, a computer program product containing instructions is provided, and when it is run on a computer, it causes the computer to execute the methods described in the above aspects.

因此,本发明通过监控业务请求数量和处理业务POD的总体负载情况,计算出需要调整的POD数量,然后根据kubernetes动态调整POD数量,当业务高峰期,快速增加POD 数量,以达到分流减压的作用;当业务平缓期,关闭多余POD节省服务器资源,提高了容器运行的效率与稳定性,增强了对基于Kubernetes容器集群管理系统中的资源调度效率。。Therefore, the present invention calculates the number of PODs that need to be adjusted by monitoring the number of business requests and the overall load of the processing business PODs, and then dynamically adjusts the number of PODs according to kubernetes. Function; when the business is calm, closing redundant PODs saves server resources, improves the efficiency and stability of container operation, and enhances the efficiency of resource scheduling in the Kubernetes-based container cluster management system. .

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings on the premise of not paying creative work.

图1是本申请一个实施例的方法的示意性流程图。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present application.

图2是本申请另一个实施例的方法的示意性流程图。Fig. 2 is a schematic flowchart of a method according to another embodiment of the present application.

图3是本申请一个实施例的装置的示意性框图。Fig. 3 is a schematic block diagram of a device according to an embodiment of the present application.

图4为本发明实施例提供的一种受控终端的结构示意图。FIG. 4 is a schematic structural diagram of a controlled terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention. In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

下面对本申请中出现的关键术语进行解释。Key terms appearing in this application are explained below.

图1是本申请一个实施例的方法的示意性流程图。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present application.

如图1所示,本方案是基于kubernetes系统实现的,核心思想分为两个部分:第一部分,对服务访问量的监控、对提供服务POD整体性能(cpu、内存)的监控;第二部分,根据对服务访问量和Pod性能的监控结构,调整deployment脚本中定义的POD数量,实现kubernetes自动管理机制动态调整POD数量,进而实现了POD的弹性伸缩功能。As shown in Figure 1, this solution is implemented based on the kubernetes system. The core idea is divided into two parts: the first part is the monitoring of service visits and the overall performance (cpu, memory) of the POD that provides the service; the second part According to the monitoring structure of service visits and Pod performance, adjust the number of PODs defined in the deployment script, realize the kubernetes automatic management mechanism to dynamically adjust the number of PODs, and then realize the elastic scaling function of PODs.

图2是本申请一个实施例的方法的示意性流程图。其中,图2执行主体可以为一种基于kubernetes容器数量弹性伸缩实现的装置。Fig. 2 is a schematic flowchart of a method according to an embodiment of the present application. Wherein, the execution subject in Figure 2 may be a device implemented based on elastic scaling of the number of kubernetes containers.

如图2所示,该方法200包括:As shown in Figure 2, the method 200 includes:

步骤210,获取容器集群的不同服务的访问数量;Step 210, obtaining the number of visits of different services of the container cluster;

步骤220,获取容器集群各POD的负载情况,根据所述的各POD的负载情况确定各服务下POD最大服务访问可处理量;Step 220, obtain the load of each POD of the container cluster, and determine the maximum service access capacity of the POD under each service according to the load of each POD;

步骤230,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问数量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整(新增或删除容器)。Step 230, determine the threshold value of the processable amount of POD different service accesses, and when the index of the number of service accesses in the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers (add or delete containers).

因此,本申请实施例可通过监控业务请求数量和处理业务POD的总体负载情况,计算出需要调整的POD数量,然后根据kubernetes动态调整POD数量,当业务高峰期,快速增加POD数量,以达到分流减压的作用;当业务平缓期,关闭多余POD节省服务器资源。本发明是对kubernetes系统的升级,针对服务访问起伏比较大的电商企业,如一些购物的电商网站,在促销阶段,网站的访问量会爆炸式增长,如果没有动态调整机制,那么会直接跨系统,如果直接设置大量的POD以备高峰,在平峰期会造成资源浪费。Therefore, the embodiment of the present application can calculate the number of PODs that need to be adjusted by monitoring the number of business requests and the overall load of the PODs that process the business, and then dynamically adjust the number of PODs according to kubernetes, and quickly increase the number of PODs during peak business periods to achieve traffic distribution The role of decompression; when the business is calm, shut down redundant PODs to save server resources. The present invention is an upgrade to the kubernetes system. It is aimed at e-commerce enterprises with large ups and downs in service visits, such as some shopping e-commerce websites. During the promotion stage, the number of visits to the website will explode. Across systems, if you directly set up a large number of PODs for peak periods, resources will be wasted during off-peak periods.

可选地,作为本申请一个实施例,所述获取容器集群的不同服务的访问数量,包括:通过负载均衡器方法到不同服务器上的对应服务,对于某个服务的访问数量,可以通过附加均衡器获取。Optionally, as an embodiment of the present application, the acquiring the number of visits of different services of the container cluster includes: accessing corresponding services on different servers through a load balancer method, and the number of visits to a service can be obtained through additional balancing device to obtain.

可选地,作为本申请一个实施例,所述获取容器集群各POD的负载情况,根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量包括:通过POD所在的宿主机上kubelet组件获得各POD的负载情况,比如CPU的使用量、内存的使用量,通过标签分类统计POD的CPU、内存使用量平均值获取各服务POD的负载情况,进而确定各服务下POD最多承载的服务访问数量。Optionally, as an embodiment of the present application, the acquiring the load status of each POD in the container cluster, and determining the maximum number of service visits carried by the POD under each service according to the load status of each POD include: through the host machine where the POD is located Get the load status of each POD through the kubelet component, such as CPU usage and memory usage, and obtain the load status of each service POD by counting the average CPU and memory usage of the POD by label classification, and then determine the maximum load capacity of the POD under each service of service visits.

可选地,作为本申请一个实施例,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整(新增或删除容器)包括:根据容器运行时的最大CPU使用率或最大内存使用率确定POD服务访问可处理量阈值的上限和下限。Optionally, as an embodiment of the present application, the threshold value of the processable amount of POD different service access is determined, and when the index of the service access amount of the container cluster reaches the set threshold, a dynamic adjustment mechanism is triggered to adjust the number of containers (new Adding or deleting containers) includes: determining the upper limit and lower limit of the POD service access processable threshold according to the maximum CPU usage or maximum memory usage when the container is running.

可选地,作为本申请一个实施例,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整包括:根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否大于POD服务访问可处理量阈值的上限;若是,则向 deployment组件发送扩容指令增加POD数量。Optionally, as an embodiment of the present application, the threshold value of the access capacity of different services of the POD is determined, and when the index of service access volume of the container cluster reaches the set threshold, triggering a dynamic adjustment mechanism to adjust the number of containers includes: According to the number of visits of different services of the obtained container cluster and the determined threshold value of the POD different service visits that can be handled, it is judged whether the service visits of the container cluster are greater than the upper limit of the POD service visits throughput threshold; The deployment component sends expansion commands to increase the number of PODs.

可选地,作为本申请一个实施例,确定POD不同服务访问可处理量的阀值,当容器集群的服务访问量的指标达到设定阈值后,则触发动态调整机制对容器数量进行调整包括:根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否小于所述POD服务访问可处理量阈值的下限;若是,则向 deployment组件发送缩容指令减少POD数量。Optionally, as an embodiment of the present application, the threshold value of the access capacity of different services of the POD is determined, and when the index of service access volume of the container cluster reaches the set threshold, triggering a dynamic adjustment mechanism to adjust the number of containers includes: According to the access quantity of different services of the obtained container cluster and the determined threshold of the POD different service access throughput, it is judged whether the service access volume of the container cluster is less than the lower limit of the POD service access throughput threshold; if so, Then send a shrink command to the deployment component to reduce the number of PODs.

具体方法为:当某服务下一个POD最多承载的服务访问数量为100,现在有10个POD处理该种服务请求,设定动态调整阀值上限为90%,当外部请求达到900时候,就需要触发动态调整机制,调整deployment中定义的POD数量,增加POD以疏散其他POD的访问压力;需要增加的数量通过公式计算得出:The specific method is: when the maximum number of service visits carried by a POD for a certain service is 100, and there are now 10 PODs processing this service request, set the upper limit of the dynamic adjustment threshold to 90%. When the external requests reach 900, you need to Trigger the dynamic adjustment mechanism, adjust the number of PODs defined in the deployment, and increase the number of PODs to evacuate the access pressure of other PODs; the number that needs to be increased is calculated by the formula:

增加POD数量=(外部访问量–每个POD可处理量*70%*已有POD)/70;Increase the number of PODs = (external visits – each POD can handle * 70% * existing POD) / 70;

设定动态调整下限为50%,假设每个POD的处理能力还是100,已有10个POD,当外部的请求量低于500时候,触发动态调整机制,重新设定delployment中定义的数量,减少POD数量,避免资源浪费,需要减少的数量通过公式计算得出:Set the dynamic adjustment lower limit to 50%. Assume that the processing capacity of each POD is still 100, and there are already 10 PODs. When the external request volume is lower than 500, the dynamic adjustment mechanism will be triggered, and the number defined in the delployment will be reset to reduce The number of PODs, to avoid waste of resources, the number that needs to be reduced is calculated by the formula:

减少POD数量=(每个POD可处理量*70%*已有POD-外部访问量)/70Reduce the number of PODs = (each POD can handle * 70% * existing POD - external visits) / 70

图3示出了本申请一个实施例的装置的示意性框图。Fig. 3 shows a schematic block diagram of an apparatus according to an embodiment of the present application.

如图3所示,该装置300包括:As shown in Figure 3, the device 300 includes:

获取单元310,所述获取单元用于获取容器集群的不同服务的访问数量;所述获取单元还用于获取容器集群各POD的负载情况,The obtaining unit 310, the obtaining unit is used to obtain the number of visits of different services of the container cluster; the obtaining unit is also used to obtain the load situation of each POD of the container cluster,

确定单元320,所述确定单元用于根据所述的各POD的负载情况确定各服务下POD最多承载的服务访问数量;所述确定单元还用于确定POD不同服务访问可处理量的阀值Determination unit 320, the determination unit is used to determine the maximum number of service visits carried by PODs under each service according to the load situation of each POD; the determination unit is also used to determine the threshold value of the processable amount of POD different service visits

弹性伸缩管理单元330,所述弹性伸缩管理单元当判定容器集群的服务访问量的指标达到设定阈值后,触发动态调整机制对容器数量进行调整(新增或删除容器)。The elastic scaling management unit 330 triggers a dynamic adjustment mechanism to adjust the number of containers (adding or deleting containers) after determining that the index of the service access volume of the container cluster reaches a set threshold.

可选地,作为本申请一个实施例,所述获取单元用于通过负载均衡器方法到不同服务器上的对应服务,对于某个服务的访问数量,可以通过附加均衡器获取。Optionally, as an embodiment of the present application, the obtaining unit is configured to obtain corresponding services on different servers through a load balancer method, and the access quantity of a certain service may be obtained through an additional balancer.

可选地,作为本申请一个实施例,所述确定单元用于根据POD所在的宿主机上kubelet 组件获得各POD的负载情况,比如CPU的使用量、内存的使用量,通过标签分类统计POD的 CPU、内存使用量平均值获取各服务POD的负载情况,进而确定各服务下POD最多承载的服务访问数量。Optionally, as an embodiment of the present application, the determination unit is used to obtain the load status of each POD according to the kubelet component on the host machine where the POD is located, such as CPU usage and memory usage, and classify and count the POD by label The average CPU and memory usage is used to obtain the load of each service POD, and then determine the maximum number of service accesses carried by the POD under each service.

可选地,作为本申请一个实施例,所述确定单元用于根据容器运行时的最大CPU使用率或最大内存使用率确定POD服务访问可处理量阈值的上限和下限。Optionally, as an embodiment of the present application, the determining unit is configured to determine an upper limit and a lower limit of a POD service access throughput threshold according to a maximum CPU usage or a maximum memory usage when the container is running.

可选地,作为本申请一个实施例,所述弹性伸缩管理单元包括:Optionally, as an embodiment of the present application, the elastic scaling management unit includes:

第一判断单元,用于根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否大于POD服务访问可处理量阈值的上限;若是,则向deployment组件发送扩容指令增加POD数量;The first judging unit is configured to judge whether the service access volume of the container cluster is greater than the POD service access throughput threshold according to the acquired access quantity of different services of the container cluster and the determined threshold value of the POD different service access throughput. upper limit; if so, send expansion commands to the deployment component to increase the number of PODs;

可选地,作为本申请一个实施例,所述弹性伸缩管理单元还包括:Optionally, as an embodiment of the present application, the elastic scaling management unit further includes:

第二判断单元,用于根据获取的容器集群的不同服务的访问数量及确定的POD不同服务访问可处理量的阀值,判断所述容器集群的服务访问量是否小于所述POD服务访问可处理量阈值的下限;若是,则向deployment组件发送缩容指令减少POD数量。The second judging unit is configured to judge whether the service access volume of the container cluster is less than the POD service access processable amount according to the obtained access quantity of different services of the container cluster and the determined threshold value of the processable amount of different service accesses of the POD The lower limit of the volume threshold; if so, send a shrink command to the deployment component to reduce the number of PODs.

具体方法为:当某服务下一个POD最多承载的服务访问数量为100,现在有10个POD处理该种服务请求,设定动态调整阀值上限为90%,当外部请求达到900时候,所述弹性伸缩管理单元的第一判断单元进行判断后触发动态调整机制,调整deployment中定义的POD数量,增加 POD以疏散其他POD的访问压力;需要增加的数量通过公式计算得出:The specific method is: when the maximum number of service visits carried by a POD for a certain service is 100, and there are now 10 PODs processing this service request, set the upper limit of the dynamic adjustment threshold to 90%, and when the external requests reach 900, the above The first judging unit of the elastic scaling management unit makes a judgment and triggers a dynamic adjustment mechanism to adjust the number of PODs defined in the deployment and increase the number of PODs to evacuate the access pressure of other PODs; the number to be increased is calculated by the formula:

增加POD数量=(外部访问量–每个POD可处理量*70%*已有POD)/70;Increase the number of PODs = (external visits – each POD can handle * 70% * existing POD) / 70;

设定动态调整下限为50%,假设每个POD的处理能力还是100,已有10个POD,当外部的请求量低于500时候,所述弹性伸缩管理单元的第二判断单元进行判断后触发动态调整机制,重新设定delployment中定义的数量,减少POD数量,避免资源浪费,需要减少的数量通过公式计算得出:Set the dynamic adjustment lower limit to 50%. Assume that the processing capacity of each POD is still 100, and there are already 10 PODs. When the external request volume is lower than 500, the second judgment unit of the elastic scaling management unit judges and triggers The dynamic adjustment mechanism resets the quantity defined in the delployment, reduces the number of PODs, and avoids waste of resources. The quantity to be reduced is calculated by the formula:

减少POD数量=(每个POD可处理量*70%*已有POD-外部访问量)/70Reduce the number of PODs = (each POD can handle * 70% * existing POD - external visits) / 70

图4为本发明实施例提供的一种受控终端300的结构示意图,该受控终端300可以用于执行本申请实施例图1提供的基于kubernetes容器数量弹性伸缩的实现方法。FIG. 4 is a schematic structural diagram of a controlled terminal 300 provided by an embodiment of the present invention. The controlled terminal 300 can be used to implement the method for implementing elastic scaling based on the number of kubernetes containers provided in FIG. 1 of the embodiment of the present application.

其中,该受控终端400可以包括:处理器410、存储器420及通信单元430。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本申请的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Wherein, the controlled terminal 400 may include: a processor 410 , a memory 420 and a communication unit 430 . These components communicate through one or more buses. Those skilled in the art can understand that the structure of the server shown in the figure does not constitute a limitation to the present application. It can be a bus structure, a star structure, or a More or fewer components than shown, or combinations of certain components, or different arrangements of components may be included.

其中,该存储器420可以用于存储处理器410的执行指令,存储器420可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器420中的执行指令由处理器410执行时,使得终端400能够执行以下上述方法实施例中的部分或全部步骤。Wherein, the memory 420 can be used to store the execution instructions of the processor 410, and the memory 420 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electronic Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk . When the execution instructions in the memory 420 are executed by the processor 410, the terminal 400 is enabled to perform some or all of the steps in the following above-mentioned method embodiments.

处理器410为存储设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子设备的各种功能和/或处理数据。所述处理器可以由集成电路(IntegratedCircuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器410可以仅包括中央处理器(CentralProcessingUnit,简称CPU)。在本申请实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 410 is the control center of the storage device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 420, and calling data stored in the memory, To perform various functions of the electronic device and/or process data. The processor may be composed of an integrated circuit (Integrated Circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 410 may only include a central processing unit (Central Processing Unit, CPU for short). In the embodiments of the present application, the CPU may be a single computing core, or may include multiple computing cores.

通信单元430,用于建立通信信道,从而使所述存储设备可以与其它设备进行通信。接收其他设备发送的用户数据或者向其他设备发送用户数据。The communication unit 430 is configured to establish a communication channel, so that the storage device can communicate with other devices. Receive user data sent by other devices or send user data to other devices.

本领域普通技术人员可以意识到,结合本文中所公开的实施例中描述的各方法步骤和单元,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各实施例的步骤及组成。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。本领域普通技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that, in combination with the various method steps and units described in the embodiments disclosed herein, they can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the possibility of hardware and software For interchangeability, in the above description, the steps and components of each embodiment have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art may use different methods to implement the described functions for each particular application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或步骤可以用硬件、处理器执行的软件程序,或者二者的结合来实施。软件程序可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The methods or steps described in connection with the embodiments disclosed herein may be implemented by hardware, software programs executed by a processor, or a combination of both. The software program can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。For the same and similar parts among the various embodiments in this specification, please refer to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant details, refer to the description in the method embodiment.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those skilled in the art can make various equivalent modifications or replacements to the embodiments of the present invention, and these modifications or replacements should be within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. a kind of implementation method based on kubernetes elastic telescopic number of containers, which is characterized in that including:
Obtain the access number of the different services of container cluster;
The loading condition for obtaining each POD of container cluster, determines that POD is most under each service according to the loading condition of each POD The service access quantity of carrying;
Determine POD differences service access can treating capacity threshold values, when the index of the service access quantity of container cluster reaches setting After threshold value, then triggers dynamic adjustment mechanism and number of containers is adjusted.
2. according to the method described in claim 1, it is characterized in that, the access number of the different services for obtaining container cluster Including:
By the corresponding with service in load equalizer method to different server, for the access number of some service, Ke Yitong Cross additional equalizer acquisition.
3. method according to claim 1 or 2, which is characterized in that the loading condition for obtaining each POD of container cluster, Determine that the service access quantity that POD is at most carried under each service includes according to the loading condition of each POD:
The loading condition of each POD, such as the usage amount of CPU, memory are obtained by kubelet components on the host where POD Usage amount, by labeling count POD CPU, memory usage amount average value obtain it is each service POD loading condition, into And determine the service access quantity that POD is at most carried under each service.
4. according to the method described in claim 3, it is characterized in that, determine POD differences service access can treating capacity threshold values, when After the index of the service access amount of container cluster reaches given threshold, then triggers dynamic adjustment mechanism and number of containers is adjusted Including:
According to the access numbers of the different services of the container cluster of acquisition and the POD differences service access of determination can treating capacity valve Value, judge the container cluster service access amount whether be more than POD service access can treating capacity threshold value the upper limit;If so, Dilatation instruction, which is sent, to deployment components increases POD quantity.
5. according to the method described in claim 3, it is characterized in that, determine POD differences service access can treating capacity threshold values, when After the index of the service access amount of container cluster reaches given threshold, then triggers dynamic adjustment mechanism and number of containers is adjusted Including:
According to the access numbers of the different services of the container cluster of acquisition and the POD differences service access of determination can treating capacity valve Value, judges whether the service access amount of the container cluster is less than corresponding second metrics-thresholds in the elastic telescopic strategy; If so, sending capacity reducing instruction to deployment components reduces POD quantity.
6. a kind of realization device based on kubernetes number of containers elastic telescopics, which is characterized in that including:
Acquiring unit, the acquiring unit are used to obtain the access number of the different services of container cluster;The acquiring unit is also Loading condition for obtaining each POD of container cluster;
Determination unit, the determination unit are used to determine that POD is at most carried under each service according to the loading condition of each POD Service access quantity;The determination unit be additionally operable to determine POD differences service access can treating capacity threshold values;
Elastic telescopic manages unit, and the index of service access amount of the elastic telescopic management unit when judgement container cluster reaches After given threshold, triggering dynamic adjustment mechanism is adjusted number of containers.
7. device according to claim 6, which is characterized in that the acquiring unit is specifically used for:
By the corresponding with service in load equalizer method to different server, for the access number of some service, Ke Yitong Cross additional equalizer acquisition.
8. device according to claim 6, which is characterized in that the detection unit is specifically used for:
The loading condition of each POD, such as the usage amount of CPU, memory are obtained according to kubelet components on the host where POD Usage amount, by labeling count POD CPU, memory usage amount average value obtain it is each service POD loading condition, into And determine the service access quantity that POD is at most carried under each service.
9. according to claim 6-8 any one of them devices, which is characterized in that the elastic telescopic manages unit and includes:
First judging unit, for being taken according to the different access numbers serviced of container cluster and the POD differences of determination of acquisition Business access can treating capacity threshold values, judge whether the service access amount of the container cluster can treating capacity more than POD service access The upper limit of threshold value;If so, sending dilatation instruction to deployment components increases POD quantity;
Second judgment unit, for being taken according to the different access numbers serviced of container cluster and the POD differences of determination of acquisition Business access can treating capacity threshold values, judge the container cluster service access amount whether be less than the POD service access can locate The lower limit of reason amount threshold value;If so, sending capacity reducing instruction to deployment components reduces POD quantity.
10. a kind of controlled terminal, which is characterized in that including:
Processor;
The memory executed instruction for storing processor;
Wherein, the processor is configured as perform claim and requires 1-4 any one of them methods.
CN201810288311.0A 2018-04-03 2018-04-03 A kind of implementation method and its device based on kubernetes number of containers elastic telescopics Pending CN108769100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810288311.0A CN108769100A (en) 2018-04-03 2018-04-03 A kind of implementation method and its device based on kubernetes number of containers elastic telescopics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810288311.0A CN108769100A (en) 2018-04-03 2018-04-03 A kind of implementation method and its device based on kubernetes number of containers elastic telescopics

Publications (1)

Publication Number Publication Date
CN108769100A true CN108769100A (en) 2018-11-06

Family

ID=63980773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810288311.0A Pending CN108769100A (en) 2018-04-03 2018-04-03 A kind of implementation method and its device based on kubernetes number of containers elastic telescopics

Country Status (1)

Country Link
CN (1) CN108769100A (en)

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446032A (en) * 2018-12-19 2019-03-08 福建新大陆软件工程有限公司 Method and system for Kubernetes replica expansion and contraction
CN109471733A (en) * 2018-11-22 2019-03-15 郑州云海信息技术有限公司 A resource control method and device
CN109800079A (en) * 2018-12-13 2019-05-24 平安医疗健康管理股份有限公司 Node method of adjustment and relevant apparatus in medicare system
CN109873718A (en) * 2019-01-23 2019-06-11 平安科技(深圳)有限公司 A kind of container self-adapting stretching method, server and storage medium
CN110175068A (en) * 2019-04-16 2019-08-27 平安科技(深圳)有限公司 Host number elastic telescopic method, apparatus and computer equipment in distributed system
CN110266525A (en) * 2019-06-04 2019-09-20 湖北五五互联科技有限公司 CDN server quantity configuration method, equipment and computer readable storage medium
CN110427249A (en) * 2019-07-26 2019-11-08 重庆紫光华山智安科技有限公司 Method for allocating tasks, pod initial method and relevant apparatus
CN110442436A (en) * 2019-07-12 2019-11-12 平安普惠企业管理有限公司 Process management method and relevant apparatus based on container
CN111177160A (en) * 2019-11-06 2020-05-19 腾讯云计算(北京)有限责任公司 Service updating method, device, server and medium
CN111258710A (en) * 2020-01-09 2020-06-09 同盾控股有限公司 System maintenance method and device
CN111309442A (en) * 2020-02-19 2020-06-19 望海康信(北京)科技股份公司 Method, device, system, medium and equipment for adjusting number of micro-service containers
CN111382326A (en) * 2020-03-17 2020-07-07 北京三快在线科技有限公司 Instance group creation method, instance group creation device, instance group creation server and storage medium
CN111405055A (en) * 2020-03-23 2020-07-10 北京达佳互联信息技术有限公司 Multi-cluster management method, system, server and storage medium
CN111431955A (en) * 2019-01-10 2020-07-17 中科星图股份有限公司 Streaming data processing system and method
CN111651275A (en) * 2020-06-04 2020-09-11 山东汇贸电子口岸有限公司 MySQL cluster automatic deployment system and method
CN111770150A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN111782147A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Method and device for cluster expansion and contraction
CN112000341A (en) * 2019-05-08 2020-11-27 北京奇虎科技有限公司 Method and device for implementing an application
CN112015536A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Kubernetes cluster container group scheduling method, device and medium
CN112153143A (en) * 2020-09-24 2020-12-29 新浪网技术(中国)有限公司 Kubernetes cluster flow scheduling method and device and electronic equipment
CN112291288A (en) * 2019-07-24 2021-01-29 北京金山云网络技术有限公司 Container cluster expansion method and device, electronic equipment and readable storage medium
CN112468463A (en) * 2020-11-13 2021-03-09 福建福诺移动通信技术有限公司 Device and method for arranging scene capacity based on cloud native capacity gateway
CN112532722A (en) * 2020-11-27 2021-03-19 中国—东盟信息港股份有限公司 Kubernetes cloud native cluster node-based graceful shutdown method
CN113296931A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Resource control method, system, computing device and storage medium
CN113872997A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Container group POD reconstruction method and related equipment based on container cluster service
CN113867957A (en) * 2021-09-28 2021-12-31 北京同创永益科技发展有限公司 A method and device for realizing elastic scaling of the number of cross-cluster containers
CN114371931A (en) * 2021-12-20 2022-04-19 南京星云数字技术有限公司 Service cluster resource allocation method and device and computer equipment
CN114640516A (en) * 2022-03-09 2022-06-17 平安科技(深圳)有限公司 Access control method and device for storage cluster, electronic device and storage medium
CN114968486A (en) * 2022-05-24 2022-08-30 成都精灵云科技有限公司 Application copy number adjusting method and system and container scheduling engine
CN115037754A (en) * 2022-05-11 2022-09-09 新华三技术有限公司 Load balancing method and device
CN115277713A (en) * 2022-07-27 2022-11-01 京东科技信息技术有限公司 Load balancing method and device
CN115361281A (en) * 2022-08-19 2022-11-18 浙江极氪智能科技有限公司 A processing method, device, equipment and medium for capacity expansion of multiple cloud cluster nodes
CN115473902A (en) * 2022-08-05 2022-12-13 深圳市大头兄弟科技有限公司 Cluster-based server scaling method and related equipment
CN115525394A (en) * 2022-09-26 2022-12-27 苏州浪潮智能科技有限公司 Method and device for adjusting container quantity
CN115617517A (en) * 2022-10-12 2023-01-17 中航信移动科技有限公司 Data processing system for application pod control
CN117909083A (en) * 2024-02-01 2024-04-19 廊坊市讯云数据科技有限公司 Distributed cloud container resource scheduling method and system
WO2024098943A1 (en) * 2022-11-10 2024-05-16 超聚变数字技术有限公司 Resource configuration method, server cluster and server node
CN119960921A (en) * 2025-04-10 2025-05-09 之江实验室 A container service management method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023969A (en) * 2012-11-15 2013-04-03 北京搜狐新媒体信息技术有限公司 Cloud platform scheduling method and system
CN105515864A (en) * 2015-12-11 2016-04-20 深圳市中润四方信息技术有限公司 Container resource adaptive adjustment method and container resource adaptive adjustment system
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof
CN106470219A (en) * 2015-08-17 2017-03-01 阿里巴巴集团控股有限公司 The dilatation of computer cluster and capacity reduction method and equipment
CN106992887A (en) * 2017-04-05 2017-07-28 国家电网公司 The implementation method of application example elastic telescopic based on container, apparatus and system
US20170257432A1 (en) * 2011-02-09 2017-09-07 Cliqr Technologies Inc. Apparatus, systems and methods for container based service deployment
CN107395731A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of adjusting method and device of the container cluster based on service orchestration
CN107590001A (en) * 2017-09-08 2018-01-16 北京京东尚科信息技术有限公司 Load-balancing method and device, storage medium, electronic equipment
CN107819867A (en) * 2017-11-18 2018-03-20 洛阳理工学院 The load-balancing method and device of a kind of cluster network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170257432A1 (en) * 2011-02-09 2017-09-07 Cliqr Technologies Inc. Apparatus, systems and methods for container based service deployment
CN103023969A (en) * 2012-11-15 2013-04-03 北京搜狐新媒体信息技术有限公司 Cloud platform scheduling method and system
CN106470219A (en) * 2015-08-17 2017-03-01 阿里巴巴集团控股有限公司 The dilatation of computer cluster and capacity reduction method and equipment
CN105515864A (en) * 2015-12-11 2016-04-20 深圳市中润四方信息技术有限公司 Container resource adaptive adjustment method and container resource adaptive adjustment system
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof
CN106992887A (en) * 2017-04-05 2017-07-28 国家电网公司 The implementation method of application example elastic telescopic based on container, apparatus and system
CN107395731A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of adjusting method and device of the container cluster based on service orchestration
CN107590001A (en) * 2017-09-08 2018-01-16 北京京东尚科信息技术有限公司 Load-balancing method and device, storage medium, electronic equipment
CN107819867A (en) * 2017-11-18 2018-03-20 洛阳理工学院 The load-balancing method and device of a kind of cluster network

Cited By (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471733A (en) * 2018-11-22 2019-03-15 郑州云海信息技术有限公司 A resource control method and device
CN109800079A (en) * 2018-12-13 2019-05-24 平安医疗健康管理股份有限公司 Node method of adjustment and relevant apparatus in medicare system
CN109800079B (en) * 2018-12-13 2023-03-31 深圳平安医疗健康科技服务有限公司 Node adjusting method in medical insurance system and related device
CN109446032A (en) * 2018-12-19 2019-03-08 福建新大陆软件工程有限公司 Method and system for Kubernetes replica expansion and contraction
CN111431955A (en) * 2019-01-10 2020-07-17 中科星图股份有限公司 Streaming data processing system and method
CN111431955B (en) * 2019-01-10 2023-03-24 中科星图股份有限公司 Streaming data processing system and method
CN109873718A (en) * 2019-01-23 2019-06-11 平安科技(深圳)有限公司 A kind of container self-adapting stretching method, server and storage medium
WO2020151306A1 (en) * 2019-01-23 2020-07-30 平安科技(深圳)有限公司 Self-adaptive scaling method for container, and server and storage medium
CN110175068A (en) * 2019-04-16 2019-08-27 平安科技(深圳)有限公司 Host number elastic telescopic method, apparatus and computer equipment in distributed system
CN112000341A (en) * 2019-05-08 2020-11-27 北京奇虎科技有限公司 Method and device for implementing an application
CN110266525B (en) * 2019-06-04 2022-02-22 湖北五五互联科技有限公司 CDN server number configuration method, equipment and computer readable storage medium
CN110266525A (en) * 2019-06-04 2019-09-20 湖北五五互联科技有限公司 CDN server quantity configuration method, equipment and computer readable storage medium
CN110442436A (en) * 2019-07-12 2019-11-12 平安普惠企业管理有限公司 Process management method and relevant apparatus based on container
CN112291288B (en) * 2019-07-24 2022-10-04 北京金山云网络技术有限公司 Container cluster expansion method and device, electronic equipment and readable storage medium
CN112291288A (en) * 2019-07-24 2021-01-29 北京金山云网络技术有限公司 Container cluster expansion method and device, electronic equipment and readable storage medium
CN110427249A (en) * 2019-07-26 2019-11-08 重庆紫光华山智安科技有限公司 Method for allocating tasks, pod initial method and relevant apparatus
CN111177160B (en) * 2019-11-06 2023-08-04 腾讯云计算(北京)有限责任公司 Service updating method, device, server and medium
CN111177160A (en) * 2019-11-06 2020-05-19 腾讯云计算(北京)有限责任公司 Service updating method, device, server and medium
CN111258710B (en) * 2020-01-09 2023-03-31 同盾控股有限公司 System maintenance method and device
CN111258710A (en) * 2020-01-09 2020-06-09 同盾控股有限公司 System maintenance method and device
CN111309442A (en) * 2020-02-19 2020-06-19 望海康信(北京)科技股份公司 Method, device, system, medium and equipment for adjusting number of micro-service containers
CN111382326B (en) * 2020-03-17 2023-06-30 北京三快在线科技有限公司 Instance group creation method, device, server and storage medium
CN111382326A (en) * 2020-03-17 2020-07-07 北京三快在线科技有限公司 Instance group creation method, instance group creation device, instance group creation server and storage medium
CN111405055A (en) * 2020-03-23 2020-07-10 北京达佳互联信息技术有限公司 Multi-cluster management method, system, server and storage medium
CN111651275A (en) * 2020-06-04 2020-09-11 山东汇贸电子口岸有限公司 MySQL cluster automatic deployment system and method
CN111770150A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN111770150B (en) * 2020-06-24 2022-10-18 中国工商银行股份有限公司 Access flow control method and device and electronic equipment
CN113872997A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Container group POD reconstruction method and related equipment based on container cluster service
CN113872997B (en) * 2020-06-30 2022-08-26 华为技术有限公司 Container group POD reconstruction method based on container cluster service and related equipment
CN111782147A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Method and device for cluster expansion and contraction
CN113296931A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Resource control method, system, computing device and storage medium
CN112015536A (en) * 2020-08-28 2020-12-01 北京浪潮数据技术有限公司 Kubernetes cluster container group scheduling method, device and medium
CN112153143B (en) * 2020-09-24 2023-04-28 新浪技术(中国)有限公司 Flow scheduling method and device for Kubernetes cluster and electronic equipment
CN112153143A (en) * 2020-09-24 2020-12-29 新浪网技术(中国)有限公司 Kubernetes cluster flow scheduling method and device and electronic equipment
CN112468463B (en) * 2020-11-13 2023-04-11 福建福诺移动通信技术有限公司 Device and method for arranging scene capacity based on cloud native capacity gateway
CN112468463A (en) * 2020-11-13 2021-03-09 福建福诺移动通信技术有限公司 Device and method for arranging scene capacity based on cloud native capacity gateway
CN112532722A (en) * 2020-11-27 2021-03-19 中国—东盟信息港股份有限公司 Kubernetes cloud native cluster node-based graceful shutdown method
CN113867957A (en) * 2021-09-28 2021-12-31 北京同创永益科技发展有限公司 A method and device for realizing elastic scaling of the number of cross-cluster containers
CN114371931A (en) * 2021-12-20 2022-04-19 南京星云数字技术有限公司 Service cluster resource allocation method and device and computer equipment
CN114640516B (en) * 2022-03-09 2023-10-20 平安科技(深圳)有限公司 Access control method and device for storage cluster, electronic equipment and storage medium
CN114640516A (en) * 2022-03-09 2022-06-17 平安科技(深圳)有限公司 Access control method and device for storage cluster, electronic device and storage medium
CN115037754A (en) * 2022-05-11 2022-09-09 新华三技术有限公司 Load balancing method and device
CN114968486A (en) * 2022-05-24 2022-08-30 成都精灵云科技有限公司 Application copy number adjusting method and system and container scheduling engine
CN115277713A (en) * 2022-07-27 2022-11-01 京东科技信息技术有限公司 Load balancing method and device
CN115473902A (en) * 2022-08-05 2022-12-13 深圳市大头兄弟科技有限公司 Cluster-based server scaling method and related equipment
CN115361281B (en) * 2022-08-19 2023-09-22 浙江极氪智能科技有限公司 Processing method, device, equipment and medium for expanding capacity of multiple cloud cluster nodes
CN115361281A (en) * 2022-08-19 2022-11-18 浙江极氪智能科技有限公司 A processing method, device, equipment and medium for capacity expansion of multiple cloud cluster nodes
CN115525394B (en) * 2022-09-26 2025-07-08 苏州浪潮智能科技有限公司 Method and device for adjusting number of containers
CN115525394A (en) * 2022-09-26 2022-12-27 苏州浪潮智能科技有限公司 Method and device for adjusting container quantity
CN115617517B (en) * 2022-10-12 2023-11-10 中航信移动科技有限公司 Data processing system for applying pod control
CN115617517A (en) * 2022-10-12 2023-01-17 中航信移动科技有限公司 Data processing system for application pod control
WO2024098943A1 (en) * 2022-11-10 2024-05-16 超聚变数字技术有限公司 Resource configuration method, server cluster and server node
CN117909083A (en) * 2024-02-01 2024-04-19 廊坊市讯云数据科技有限公司 Distributed cloud container resource scheduling method and system
CN117909083B (en) * 2024-02-01 2024-07-26 廊坊市讯云数据科技有限公司 Distributed cloud container resource scheduling method and system
CN119960921A (en) * 2025-04-10 2025-05-09 之江实验室 A container service management method and device

Similar Documents

Publication Publication Date Title
CN108769100A (en) A kind of implementation method and its device based on kubernetes number of containers elastic telescopics
CN109684358B (en) Data query method and device
CN109672627A (en) Method for processing business, platform, equipment and storage medium based on cluster server
CN108989238A (en) Method for distributing service bandwidth and related equipment
CN108551465A (en) The concurrent digital control method of server, device, computer equipment and storage medium
CN103399781B (en) Cloud Server and virtual machine management method thereof
CN105554102A (en) Elastic expansion method based on container cluster and application system thereof
CN110661824B (en) Flow control method of server in distributed cluster and storage medium
CN104503840A (en) Method and device for optimizing terminal resources
CN109144666A (en) A kind of method for processing resource and system across cloud platform
CN107995286A (en) Service automatic start-stop method, server and storage medium based on dubbo platforms
CN107493176A (en) A kind of charging method and system
CN116708303A (en) Traffic distribution method, device, computer equipment and storage medium
CN112363826B (en) Project resource comprehensive management system, method, terminal and storage medium
CN115378879A (en) Data control method and related device
CN110838987A (en) Queue current limiting method and storage medium
CN105094947B (en) The quota management method and system of a kind of virtual computing resource
CN117971491A (en) In-process resource control method, device, equipment and storage medium
CN110309225B (en) Data processing method and system
CN108984271A (en) Load balancing method and related equipment
CN112148496B (en) Energy efficiency management method and device for computing storage resources of super-fusion virtual machine and electronic equipment
CN104793985B (en) A kind of dispatching method of virtual machine and management equipment
CN114884885B (en) A method, device, storage medium and computer equipment for breaking up intelligent hot spots
CN115225490A (en) Gateway configuration method and device and electronic equipment
CN111193760B (en) Information sending method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106