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

Method and device for clearing mirror image in cluster node

A technology of mirroring and nodes, which is applied in the information processing field of server clusters, can solve the problems of affecting the startup speed of containers and mistaken deletion of mirror images, etc., and achieve the effect of reducing the probability of mistaken deletion and improving startup speed

Active Publication Date: 2017-08-18
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the local image can act as a cache, the existing image cleaning method may cause the image that may be used again in the future to be deleted by mistake, and it needs to be downloaded again when it is used again, which affects the startup speed of the container

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
  • Method and device for clearing mirror image in cluster node
  • Method and device for clearing mirror image in cluster node
  • Method and device for clearing mirror image in cluster node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0050] It should be noted that the method and device for clearing images in cluster nodes provided by the embodiments of the present invention are preferably applicable to cluster nodes.

[0051] A method for clearing images in cluster nodes provided by an embodiment of the present invention will firstly be described in detail below.

[0052] see figure 1 , figure 1 A schematic flowchart of a method for clearing images in cluster nodes provided by an embodiment o...

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 embodiment of the invention discloses a method and device for clearing a mirror image in a cluster node, and is applied to the cluster node. The method comprises the following steps: when a target application deployed on the cluster node of a server is upgraded, recording the name of the newly downloaded mirror image used for upgrading, the current latest version information of the mirror image, and the version information of the previous old version mirror image of the current latest version; when the task of clearing the mirror image is executed, keeping the current latest version mirror image and the previous old version mirror image of the current latest version in all the found locally stored mirror images according to the currently recorded name of the mirror image, the latest version information, and the version information of the previous old version mirror image of the current latest version, and clearing the mirror images of the other versions. By using the method provided by the embodiment of the invention, the probability of deleting by accident the mirror image probably reused in the future is reduced.

Description

technical field [0001] The invention relates to the technical field of information processing of server clusters, in particular to a method and device for clearing images in cluster nodes. Background technique [0002] In today's information age, the Internet has developed rapidly and provided many conveniences for people's production and life, and people are increasingly using the Internet to obtain corresponding services. [0003] Currently, server clusters use Docker containers extensively to run applications and provide services. The application scheduling server will deploy the application to each cluster node of the server cluster. Specifically, the scheduling server selects some cluster nodes according to the application configuration information, and notifies these cluster nodes to go to the image warehouse server to download the image corresponding to the image version information in the application configuration information, and use this version image to create an...

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/445
CPCG06F9/445G06F9/44536
Inventor 赵慰李军
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD