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

Container update method, control node and edge node

An edge node and control node technology, which is applied in version control, program control design, program control devices, etc., and can solve problems such as inability to update containers.

Active Publication Date: 2022-05-31
GUANGZHOU HUYA TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, one of the purposes of this application is to provide a container update method, a control node and an edge node, so as to improve the problem in the prior art that the container update cannot be implemented in the case of insufficient cluster resources

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
  • Container update method, control node and edge node
  • Container update method, control node and edge node
  • Container update method, control node and edge node

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0069] Step S210, send a lock notification to the edge node, and the lock notification includes the container identifier of the container to be updated,

[0070] Step S220, sending an update instruction for the container to be updated to the edge node, so that the edge node

[0071] In step S210, the control node 100 can notify the edge where the container to be updated is located when the container needs to be updated

[0072] There are many ways to determine the container to be updated. For example, it can be specified by the user. Another example, edge nodes

[0073] After the control node 100 determines the container A to be updated, it can be based on the running state of the container reported by each edge node

[0075] In one embodiment, the resource lock tag may be included in the lock notification, in which case,

[0077] After determining the container A to be updated, the control node 100 will also pass step S220 to the edge where the container A to be updated is locat...

no. 2 example

[0082] Please refer to FIG. 3. FIG. 3 is a container update method applied to the control node 100 provided by the present embodiment, which includes

[0083] In this case, the container update method provided by this embodiment includes the following steps.

[0084] Step S310, according to the resource information reported by the edge node, determine whether the edge node is in a resource

[0085] Step S320, if in a resource-constrained state, send the lock notification to the edge node, and the lock communication

[0087] Regarding the specific implementation process of step S320 and step S330, reference may be made to the relevant description in the first embodiment.

[0088] Based on the analysis of the first embodiment, the situation where the container on the edge node cannot be updated is usually at the edge node

[0092] Taking container A as an example, when the control node 100 monitors the need to update container A, it will give priority to the edge where container A is...

no. 3 example

[0113] Step S520, receiving the update instruction sent by the control node for the container to be updated, according to the

[0114] Step S530, delete the container to be updated from the target container group, and create a pair of the container to be updated

[0116] In step S510, the edge node 200 may receive the lock notification through the proxy node process 210, and

[0117] Regarding step S520, there are many ways for the control node to send the lock notification.

[0118] In an implementation of this embodiment, the lock notification may be determined by the controller after the container to be updated is determined.

[0119] In another implementation of this embodiment, the lock notification may be in the location where the container to be updated is located

[0122] Through the above-mentioned design, the container to be updated can be updated under the condition of retaining the container group to which the container to be updated belongs.

[0123] Further, in this e...

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

Embodiments of the present application provide a container update method, a control node and an edge node, and relate to the technical field of container management. By locking the resources of the target container group to which the container to be updated belongs, the edge node deletes the container to be updated from the target container group when receiving the update instruction, instead of directly deleting the target container group. Since the resources used by the container to be updated are carried in the target container group, locking the resources of the target container group can prevent the resources of the container to be updated carried by the target container group from being released, so that the resources of the container to be updated can be used to create corresponding The new version of the container, even in the case of insufficient resources, can also implement container updates.

Description

Container update method, control node and edge node technical field The application relates to the technical field of container management, in particular, to a container update method, control node and edge edge node. Background technique [0002] The container cluster management system provides deployment operation, resource scheduling, service discovery and dynamic extension for containerized applications. A series of complete functions can be shortened, which improves the convenience of large-scale container cluster management. Existing container cluster management system master To provide the following two ways to update the container: first, create a new version of the container, and then delete the old version of the container; second, Delete the old version of the container before creating the new version of the container. [0003] However, when the resources of the container cluster are insufficient, if the first method is adopted, the application for creating...

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 Patents(China)
IPC IPC(8): G06F9/455G06F8/71G06F8/65
CPCG06F9/45533G06F8/65G06F8/71G06F2009/45562
Inventor 王玉君毛茂德王华夏王兴刚
Owner GUANGZHOU HUYA TECH CO LTD