Master node, slave node, system and method for mirror image management of distributed container cluster
A container cluster and management system technology, applied in the computer field, can solve problems such as the need to improve reliability and security, and the low efficiency of the image management system, and achieve the effect of improving batch management capabilities, realizing efficient and safe operation, and speeding up the speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach 1
[0049] figure 1 A framework diagram of a 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. Specifically, the master node includes:
[0050] mirror database, request input module and mirror management module;
[0051] In response to the mirror image management module successfully connecting to the mirror database and having read and write permissions to the mirror database, the mirror image management module can perform read and write operations on the mirror database;
[0052] The mirror database is a distributed database for storing node information of all nodes. The node information includes the current state of the node, instruction execution content, instruction execution time and instruction execution status log and is stored in the distributed database of the master no...
Embodiment approach 2
[0070]In order to achieve the scalability and stability of the system, new slave nodes can be authorized to the system in time after the system needs to increase the slave node or the slave node fails unexpectedly, and at the same time, in order to increase the security of the system. On the basis of the above implementation methods, including:
[0071] Described mirror image management module comprises Web server, and described Web server is used for blocking monitoring, and waits to apply for joining cluster request from node, if receiving the join cluster request that slave node sends, then mirror image management module adds the communication password in the cluster request 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 cluster request will be written into the mirror database, and the update time of the slave node will be set ...
Embodiment approach 3
[0075] In order to improve the batch processing efficiency of container images in the cluster, on the basis of the above implementation, it also includes: the image management module responds to the completion of the slave node joining the cluster, and uses all the slave node information and the labels set for it as data The table is stored in the mirror database;
[0076] If the mirror image management module judges that the request record input module obtains the request target as a specified label, then query the corresponding slave node list of the label in the mirror database, and obtain the corresponding IP address from the node in the list; These slave nodes send command execution content, and the command execution content includes pull operation, update operation, delete operation and cleanup operation.
[0077] The embodiment of the distributed container cluster management method applied to the master node provided in this embodiment is based on the methods provided i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com