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
Example Embodiment
[0048] Implementation mode one
[0049] figure 1 This embodiment provides a framework diagram of a distributed container cluster management master node. In the system, the master node is the control node, which functions as 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 mirroring management module successfully docking the mirroring database and having read and write permissions for the mirroring database, the mirroring management module can perform read and write operations on the mirrored database;
[0052] The mirror database is a distributed database and is used to store node information of all nodes. The node information including the current state of the node, instruction execution content, instruction execution time, and instruction execution status log are stored in the distributed datab...
Example Embodiment
[0069] Implementation mode two
[0070] In order to achieve the scalability and stability of the system, it is possible to authorize new slave nodes in the system in time when the system needs to add slave nodes or after an unexpected failure occurs in the slave node, and at the same time to increase the security of the system. On the basis of the above implementation, including:
[0071] The mirror management module includes a Web server, which is used to block monitoring and wait for a slave node to apply for joining a cluster request. If a request to join a cluster is received from a node, the mirror management module performs a communication password on the request to join the cluster. Authentication, after passing the authentication, the node name, role, operating system, operating system kernel version, container engine version, request time and communication password added to the cluster request will be written into the mirror database, and the update time of the slave node ...
Example Embodiment
[0074] Implementation mode three
[0075] In order to improve the efficiency of the batch processing of container images in the cluster, based on the above implementation, 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 request target as the specified label, it queries the slave node list corresponding to the label in the mirror database to obtain the IP address corresponding to the slave 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...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap