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

Distributed container cluster image management master node, slave node, system and method

A container cluster and management system technology, applied in the computer field, can solve problems such as the reliability and security to be improved, and the low efficiency of the image management system, so as to improve the batch management ability, realize efficient and safe operation, and speed up the effect

Active Publication Date: 2022-06-10
NANJING UNIV OF POSTS & TELECOMM
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the problems of low efficiency, reliability and security of the current container cluster image management system, the present invention provides a distributed container cluster image management master node, slave node, system and method

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
  • Distributed container cluster image management master node, slave node, system and method
  • Distributed container cluster image management master node, slave node, system and method
  • Distributed container cluster image management master node, slave node, system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0049] figure 1 The framework diagram of the distributed container cluster management master node provided in this embodiment. In the system, the master node is the control node, which plays the role of cluster information storage and control, and generally does not run container-related services. The master node specifically includes:

[0050] Mirror database, request input module and mirror management module;

[0051] In response to the mirror management module successfully docking the mirror database and having the read and write authority of the mirror database, the mirror management module can perform read and write operations on the mirror database;

[0052] The mirror database is a distributed database, and is used to store the node information of all nodes, the node information including the current state of the node, the content of instruction execution, the instruction execution time and the instruction execution state log are stored in the distributed database of ...

Embodiment approach 2

[0070]In order to achieve the scalability and stability of the system, a new slave node can be authorized to the system in time when the system needs to add a slave node or an unexpected failure of the slave node occurs, and at the same time to increase the security of the system. On the basis of the above implementation, including:

[0071] The image management module includes a Web server, and the Web server is used for blocking and monitoring, waiting for the slave node to apply for a request to join the cluster. If a request to join the cluster sent from the slave node is received, the image management module performs the communication password in the request to join the cluster. Authentication. After the authentication is passed, the node name, role, operating system, operating system kernel version, container engine version, request time and communication password in the request to join the cluster will be written into the mirror database, and the update time of the slave...

Embodiment approach 3

[0075] In order to improve the efficiency of batch processing of container images in a cluster, based on the above embodiments, the image management module further includes: in response to the completion of the slave node joining the cluster, the image management module uses all slave node information and labels set for it as data The table is stored in the mirror database;

[0076] If the mirror management module determines that the request record input module obtains the specified label as the request target, it queries the mirror database for the list of slave nodes corresponding to the label, and obtains the IP address corresponding to the slave node in the list; These slave nodes send command execution contents, and the command execution contents include pull operations, update operations, delete operations, and cleanup operations.

[0077] The embodiment of the distributed container cluster management method applied to the master node provided by this embodiment is based...

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 distributed container cluster image management master node, a slave node, a system and a method. The master node includes: a mirror database, which is a distributed database, and is used to store node information of all nodes in the system; a request input module, which is used to receive request content including request targets and command execution content; a mirror management module, which is used for communication passwords and Verify whether the request content obtained by the request record input module is legal, and judge whether the request target in the request content is a specified single slave node or a group of slave nodes, then send the communication password to the IP address corresponding to the slave node and include the pull operation, Command execution content of update operation, delete operation and cleanup operation; receive status feedback content sent by slave nodes. The invention realizes the flat management of the container cluster image, improves the management efficiency of the cluster container image in the distributed system, and improves the high reliability and security of the entire cluster.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a distributed container cluster image management master node, slave node, system and method. Background technique [0002] With the development of technology, deploying microservices into containers can greatly improve resource utilization. When the application gradually increases, only a single container can no longer meet the current requirements, especially when the application is more important and cannot interrupt the service, it is necessary to consider using multiple containers to deploy the application to improve the ability of concurrent access and avoid single point of failure. Purpose. When multiple containers provide services to the outside world as a whole, a container cluster is formed. [0003] A container cluster generally includes multiple nodes, and these nodes include a selected master node as a management node, and manage other slave nodes by d...

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): G06F16/27G06F16/21G06F16/215
CPCG06F16/27G06F16/219G06F16/215G06Q10/08G01N21/90G06F3/0484
Inventor 张登银李俊江陈灿周超刘子捷
Owner NANJING UNIV OF POSTS & TELECOMM
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