A method and device for deploying a harbor mirror warehouse with high availability based on kubernetes
A mirroring and warehouse technology, applied in the field of deploying harbor mirroring warehouses, can solve problems such as abnormal data synchronization and loss, achieve high-availability deployment, improve work efficiency, and avoid data loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] like figure 1 As shown, a method for deploying a harbor mirror warehouse with high availability based on kubernetes in the technical solution of the present invention includes:
[0046] S1, use the DaemonSet object to create a pod container, and deploy the harbor mirror warehouse in the pod container;
[0047] S2, use the service object to manage the pod container, and provide a unified entrance for external access;
[0048] S3, pod containers use shared storage as persistent storage.
Embodiment 2
[0050] like figure 2 and image 3 As shown, in the technical solution of the present invention, in a method for deploying a harbor mirror warehouse with high availability based on kubernetes, step S1 is specifically:
[0051] S11, the DaemonSet object 11 in the kubernetes system defines several pod containers with the same configuration, and the pod containers are distributed on different physical servers;
[0052] S12, the DaemonSet object monitors several pod containers defined by it, and rebuilds the pod container when the status of the pod container is abnormal.
[0053] Among them, in step S11, the DaemonSet object 11 in the kubernetes system defines and creates N pod containers with the same configuration, that is, the first pod container, the second pod container, the third pod container...the Npod container, and the DaemonSet object 11 defines the creation The N pod containers with the same configuration are distributed in different physical server nodes, that is, t...
Embodiment 3
[0057] like Figure 4 and Figure 5 As shown, in the technical solution of the present invention, in a method for deploying a harbor mirror warehouse with high availability based on kubernetes, step S2 is specifically:
[0058] S21, the service object 21 of the kubernetes system establishes a management relationship between several pod containers and the service object 21;
[0059] S22, the serivce object 21 provides a unified IP address and port number externally as an external access entrance.
[0060] Among them, in step S21, the service object 21 of the kubernetes system is responsible for managing several pod containers defined and created by the DaemonSet object 11, and the service object 21 establishes a management relationship between several pod containers and the service object 21, that is, the service object 21 will be located at The first pod container on a physical server node, the second pod container on the second physical server node, the third pod container ...
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