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

A container group lifecycle management method based on Kubernetes system architecture

A technology of life cycle and system architecture, applied in the application field of Kubernetes system architecture, can solve problems such as being idle and wasting system resources, and achieve good practicability, improve actual utilization, and reduce the risk of system resource loss of control

Inactive Publication Date: 2019-03-29
湖南智擎科技有限公司
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is that when the Kubernetes system processes temporary tasks that require isolation from each other, these temporary tasks do not need to maintain a service for a long time, and the use of the existing task-insensitive life cycle management strategy is likely to cause container group Pod The problem of wasting system resources in the idle state for a long time provides a container group lifecycle management method based on the Kubernetes system architecture

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
  • A container group lifecycle management method based on Kubernetes system architecture
  • A container group lifecycle management method based on Kubernetes system architecture
  • A container group lifecycle management method based on Kubernetes system architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will combine Figure 1 to Figure 5 , clearly and completely describe the technical solution of the present invention. The present invention is a container group lifecycle management method based on the Kubernetes system architecture, such as figure 1 As shown, the Kubernetes system includes multiple server nodes and a Master server node for cross-node system management. The server node includes Pods that create corresponding environments according to task requests to perform tasks. Pods are used for task execution The basic unit is to set and define the Docker container, the minimum resource allocation and the resource threshold allocation of the Pod through the yaml file. For the task request, create the Pod corresponding to the environment to perform the task. The Master server node is equipped with a Redis-based An ordered set of task temporary storage pools, the task temporary storage pool includes a plurality of task temporary storage queues, and the...

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 life cycle management method of a container group based on a Kubernetes system architecture, comprising the following steps: 1, a user submits a task to a Kubernetes system for application processing; 2, the user submits the task to the Kubernetes system for application processing. 2, that Kubernetes system judges whether there is a pod correspond to the current task or not, if there is no pod corresponding to the current task, the pod is created, and a timed destruction task is set for the pod; 3. Before the scheduled destruction task of the Pod is executed, whetherthe task staging pool for tasks that correspond to the current Pod is checked, If there is a task corresponding to the current Pod, the task corresponding to the current Pod in the task temporary storage pool is imported into the Pod, the original timing destruction task of the Pod is canceled, and a timing destruction task is set for the temporary Pod again; and if there is a task corresponding to the current Pod, the task corresponding to the current Pod in the task temporary storage pool is imported into the Pod. In order to avoid the problem of Pod being destroyed and rebuilt constantly inthe scenario of frequent task submission, the mode of destruction countdown after Pod execution is adopted, which effectively improves the actual utilization rate of Pod and reduces the risk of out-of-control system resources.

Description

technical field [0001] The invention belongs to the technical field of Kubernetes system architecture application, and in particular relates to a container group lifecycle management method based on the Kubernetes system architecture. Background technique [0002] Kubernetes is a brand-new leading solution for distributed architecture based on container technology. It is a popular application method to use Kubernetes to manage container groups and perform specific tasks that require an isolated environment in container groups. Container groups provide unified services externally in the form of Pod objects, and Pods are the basic unit for hosting applications or services. [0003] In the actual application process, developers need to pay attention to the life cycle of the Pod, which means that the developer must specify when the application or service hosted in the Pod needs to be created and destroyed. A reasonable Pod lifecycle management strategy will help to effectively ...

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/48G06F9/50
CPCG06F9/485G06F9/5038G06F2209/5011
Inventor 钟金尹刚何振远肖立成杨树明韩梅
Owner 湖南智擎科技有限公司
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