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

Method for ensuring container mirror image consistency

A consistent and mirroring technology, applied in the direction of instrumentation, software deployment, version control, etc., can solve the problems of limited computing resources of private cloud servers, inability to use public cloud services well, and high cost of resource expansion, so as to ensure consistency, Realize reasonable scheduling and realize the effect of resources

Pending Publication Date: 2021-01-08
国网新疆电力有限公司信息通信公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, many enterprises deploy application services on private cloud servers. On the one hand, it is to improve the security of enterprise data. On the other hand, enterprises have not yet adapted to the rapid development of cloud computing and cannot perform well use public cloud services
At present, most enterprises still use private cloud servers, but the computing resources of private cloud servers are limited, and the cost of resource expansion is also high. On this basis, facing the growth of computing demands, many enterprises choose to use private cloud platforms Combined with the public cloud platform, respond to the temporary increase in computing demand

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 for ensuring container mirror image consistency
  • Method for ensuring container mirror image consistency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] This embodiment proposes a method to ensure the consistency of the container image, such as figure 1 As shown, first build a private cloud platform, and further deploy the central control management layer, and the central control management layer creates a Kubernetes container cluster on the private cloud platform to deploy the project version; then builds a public cloud platform, and sets it on the public cloud platform Public cloud API encapsulation layer; when the infrastructure resources on the private cloud platform are insufficient to locally expand the Kubernetes container cluster, the central control management layer dynamically applies for hosts from the public cloud platform through the public cloud API encapsulation layer, and uses the public cloud The host of the platform creates a Kubernetes container cluster that can perform service discovery and service invocation with the Kubernetes container cluster on the private cloud platform; at the same time, the ET...

Embodiment 2

[0034] This embodiment is on the basis of above-mentioned embodiment 1, as figure 2 As shown, in order to better realize the present invention, further, the deployment of the project version on the public cloud platform or / and private cloud platform specifically includes the following operations: first, build multiple different project source code versions in the source code library; Then through coding and building, different project source code versions will generate corresponding versions of docker images, and the generated docker images will be stored in the mirror warehouse; then the corresponding project version will be released through the docker images in the mirror warehouse; finally, when When there is a new environment deployment application, the deployment of the new environment is realized through the migration tool.

[0035] The release release includes three operations of storage configuration, initialization parameter configuration, and database configuration;...

Embodiment 3

[0055] In this embodiment, on the basis of any one of the foregoing embodiments 1-2, in order to better realize the present invention, the Hadoop platform is further used to manage the infrastructure resources on the public cloud platform and the private cloud platform, specifically including the following operate:

[0056] First: Divide resource scheduling into private cloud mode and private public cloud combination mode; when the infrastructure resources of the private cloud platform are sufficient, use the private cloud mode for task processing; when the infrastructure resources of the private cloud platform are insufficient, use private public cloud Cloud combined mode for task processing;

[0057] Then: when processing in the combined mode of private and public cloud, the task load is divided into two types: CPU_bound and I / O_bound; input data MID of Map, output data MOD of Map, input data SID of Shuffle, proportional parameter p, Map Task completion time MTCT, disk I / 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 invention provides a method for ensuring container mirror image consistency, which comprises the following steps: firstly, constructing a private cloud platform, further deploying a central control management layer, and creating a Kubernetes container cluster on the private cloud platform by the central control management layer to deploy a project version; then, constructing a public cloud platform, and arranging a public cloud API packaging layer on the public cloud platform; when infrastructure resources on a private cloud platform are insufficient and a Kubernetes container cluster cannot be expanded locally, a central control management layer dynamically applying for a host to a public cloud platform through a public cloud API encapsulation layer; creating a Kubernetes container cluster capable of performing service discovery and service calling with the Kubernetes container cluster on the private cloud platform by using a host of the public cloud platform; and meanwhile, usingan ETCD database as a distributed storage system of infrastructure resources of the public cloud platform and the private cloud platform to ensure the consistency of information storage of a centralcontrol management layer between the private cloud platform and the public cloud platform.

Description

technical field [0001] The invention belongs to the technical field of computer application service deployment, and in particular relates to a method for ensuring the consistency of container images. Background technique [0002] In the existing technology, many enterprises deploy application services on private cloud servers. On the one hand, it is to improve the security of enterprise data. On the other hand, enterprises have not yet adapted to the rapid development of cloud computing, and cannot use public cloud services. At present, most enterprises still use private cloud servers, but the computing resources of private cloud servers are limited, and the cost of resource expansion is also high. On this basis, facing the growth of computing demands, many enterprises choose to use private cloud platforms Combined with the public cloud platform, it can cope with the temporary increase in computing demand. [0003] In this case, it is necessary to ensure the consistency of...

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 Applications(China)
IPC IPC(8): G06F9/455G06F8/71G06F8/60
CPCG06F9/45558G06F8/71G06F8/60G06F2009/45562G06F2009/4557
Inventor 李凯马军白亮常春雷何伟运凯杨大伟
Owner 国网新疆电力有限公司信息通信公司
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