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

Declarative copy control method based on container scheduling engine

A scheduling engine and control method technology, applied in the direction of program control design, program control devices, instruments, etc., can solve the problems of no-load nodes, long application recovery time, etc., and achieve balanced resource usage, good robustness and stability, Good effect of providing service

Pending Publication Date: 2020-11-17
成都精灵云科技有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a container scheduling engine-based declarative copy control method for solving the problems caused by the container scheduling engine, such as long recovery time and no-load nodes.

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
  • Declarative copy control method based on container scheduling engine
  • Declarative copy control method based on container scheduling engine
  • Declarative copy control method based on container scheduling engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] This embodiment 1 proposes a declarative copy control method based on the container scheduling engine, which is used for the container scheduling engine to control the number of container copies. It is aimed at the situation when the number of copies exceeds the expected number. The processing flow chart is shown in figure 2 , wherein, the specific steps of this embodiment are as follows:

[0030] Step 1. Start the boxset of the application. There are two threads. One thread is blocked and waits for the stop signal, and the boxset is terminated after waiting for the stop signal. The other thread continuously updates the application status information.

[0031] Step 2. Collect application information and compare historical data.

[0032] Step 3. If the status of the application is failed or unknown for 10 consecutive times in history, it is considered to be an extremely unhealthy box.

[0033] Step 4. If the box is considered extremely unhealthy, the box will be delete...

Embodiment 2

[0035] This embodiment 2 proposes a declarative copy control method based on a container scheduling engine, which is aimed at the situation when the number of copies does not reach the expected number. The processing flow chart is shown in image 3 , wherein, the specific steps of this embodiment are as follows:

[0036] Step 1. Start the boxset of the application. There are two threads. One thread is blocked and waits for the stop signal, and the boxset is terminated after waiting for the stop signal. The other thread continuously updates the application status information.

[0037] Step 2: boxset waits for the application state information to be updated, and judges whether the current number of boxes meets expectations. If the number of boxes is less than expected, go to step three, and if the number of boxes is more than expected, go to step four.

[0038] Step 3: Create boxes with the missing number of boxes, and return to Step 2.

[0039] Step 4. Arrange the existing bo...

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 declaration type copy control method based on a container scheduling engine, and belongs to the field of application copy management in containers. The method comprises the steps that a scheduling engine receives a request for creating an application and creates a corresponding declarative copy controller; starting a declaration type replica controller, the declaration type replica controller having two threads, one thread being blocked to wait for a stop signal, stopping when the stop signal is reached, and the other thread continuously updating the application stateinformation; checking whether an application copy existing in the current cluster meets expectation or not, if yes, stopping the operation of the application type copy controller when a stop signal is received, otherwise, judging whether the state of the application copy is normal or not, deleting the current application copy when the state of the application copy is abnormal, and reconstructingone application copy; judging whether the number of the application copies meets expectation or not, if yes, finding out the application copies needing to be deleted and deleting the application copies, and if not, creating the corresponding application copies according to the number of the missing application copies.

Description

technical field [0001] The invention relates to the field of application copy management in containers, in particular to a declarative copy control method based on a container scheduling engine. Background technique [0002] Today, with the rapid development of container technology, the basic technology in the field of cloud computing has entered a new development direction, and major mainstream manufacturers are stockpiling cloud-native related technologies. The container scheduling engine is one of the core technologies. Currently, the mainstream container scheduling engine on the market is Kubernetes from Google. Developers or operation and maintenance personnel can deploy, manage, and maintain container instances through Kubernetes. The scheduling engine platform greatly simplifies the complexity of operation and maintenance work, and does not need to enter specific business processes like traditional virtualization operation and maintenance. In order to operate the ope...

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
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557G06F2009/45595
Inventor 晏东吴晓勇谢中
Owner 成都精灵云科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More