Unlock instant, AI-driven research and patent intelligence for your innovation.

Kubernetes-based cloud native container variable startup resource limitation method and system

A resource limitation and container technology, applied in the information field, can solve problems such as resource waste, application service interruption, failure to start, etc., and achieve the effect of full utilization

Pending Publication Date: 2021-09-03
中国东盟信息港股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this scenario, if the resource limit is configured to be low, it may cause the application to start too slowly, or even the memory exceeds the limit value during startup, resulting in failure to start
When the resource limit configuration is high, it may cause the quota limit of the namespace to be exceeded, and may also cause waste of resources during operation.
[0005] In Kubernetes cloud-native clusters, VPA (Vertical Autoscaler) is usually used to dynamically change the resource application value requests of the container group, but the resource limit value limits will not be modified, and when the resource application value is automatically modified, the container will Restart, resulting in interruption of application services

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
  • Kubernetes-based cloud native container variable startup resource limitation method and system
  • Kubernetes-based cloud native container variable startup resource limitation method and system
  • Kubernetes-based cloud native container variable startup resource limitation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the specific embodiments in the accompanying drawings.

[0029] refer to Figure 1-3 , this embodiment adopts 3 Master Nodes as control nodes, and the control nodes are not responsible for running workloads. Only some kubernetes components run on them in the form of containers, including application program interface server API Server, controller management and control center Controller Manager, Scheduler Scheduler.

[0030] In this embodiment, N Worker Nodes are used as work nodes, and Kubelet components and multiple container groups are run on each work node as workloads.

[0031] The API Server on each Master Node will be connected to the distributed database etcd for various resource configuration and state storage in the cluster.

[0032] Each node contains a Kubelet component that acts as a proxy for the node to communicate with the Kubernetes cluster and also as a management component tha...

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 a Kubernetes-based cloud native container variable startup resource limitation method, relates to the technical field of information, solves the technical problem of resource waste in the container running process, and comprises the following steps: adding a limit value parameter and a duration parameter in Pod. Spec.Containers [i]. Resources in a container group API structure; creating a container group and setting a limit value parameter and a duration parameter; binding the container group with the node; enabling the Kubelet to start to start a container on the node, and configure the number of cpu cores started by the container to be limited as a limit value parameter of a container group; and starting to start a timing executor, and after the timing of the timing executor reaches the duration parameter of the container group, carrying out resource scaling operation on the configuration value with the limit value of the container cpu in the container group as the limit in Pod. Spec.Containers[i].Resources. The invention further discloses a system for variable startup resource limitation based on the Kubernetes cloud native container.

Description

technical field [0001] The present invention relates to the field of information technology, more specifically, it relates to a method and a system thereof based on Kubernetes cloud-native container variable startup resource limitation. Background technique [0002] In Kubernetes cloud-native clusters, requests and limits in the field Pod.Spec.Containers[i].Resources of the container group (Pod) are usually used to control the resource application value and limit value respectively, but this controls the container group in The resource application value and limit value in the entire life cycle, once configured, will adopt a fixed configuration from the birth to the disappearance of the container group. [0003] In many scenarios where the business is not particularly busy, this fixed resource configuration prevents the CPU and memory resources of the node from being fully utilized. For example, when container group applications are started on some nodes with sufficient resou...

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/455G06F9/50
CPCG06F9/45558G06F9/5077G06F2009/45595G06F2009/45575G06F2009/45562
Inventor 赵凯麟韦克璐蓝熙
Owner 中国东盟信息港股份有限公司