Continuous integration method and system based on k8s and docker containers

An integrated method and integrated system technology, applied in the field of nereus platform construction, can solve the problems of increased time cost, low work efficiency, error-prone, etc., and achieve the effect of improving efficiency

Pending Publication Date: 2020-11-13
银盛支付服务股份有限公司
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, the deployment of the container is to write the yaml file by yourself, or use the docker command to deploy after searching for similar yaml files on the Internet. Generally, developers are not very familiar with the yaml file of the docker, and it is easy to make mistakes. It leads to a waste of time. When multiple containers need to be deployed, many different yaml files need to be written, and each one must be deployed. The time cost is multiplied and the work efficiency is extremely low.

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
  • Continuous integration method and system based on k8s and docker containers
  • Continuous integration method and system based on k8s and docker containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The idea, specific structure and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, features and effects of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, other embodiments obtained by those skilled in the art without creative efforts belong to The protection scope of the present invention. In addition, all the connection / connection relationships involved in the patent do not simply refer to the direct connection of components, but mean that a better connection structure can be formed by adding or reducing connection accessories according to specific implementation conditions. The various technical features in the invention can be combined interactively on the premise of not conflictin...

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 continuous integration method and system based on k8s and docker containers. The system comprises a git server, a nereus platform, a mirror image warehouse and a k8s cluster,wherein the git server, the nereus platform, the mirror image warehouse and the k8s cluster are connected in sequence; the git server is used for providing project codes of developers for the netherus platform; wherein the newus platform is used for compiling and packaging project codes of a developer to generate a corresponding package; then, a corresponding docker file is generated through a shell script; a docker build command is used for creating a container; pushing the container to a mirror image warehouse by using a docker push command; pulling down the docker mirror image from the mirror image warehouse through the mirror image address; configurations in a yaml file are utilized to create a container, the container is started and deployed into a k8s cluster to be managed so as tobe conveniently used by developers, and the newus platform constructs packaging and online, supports release, online and rollback of java, python, vue and other codes and can be completed through a page in a one-key mode.

Description

technical field [0001] The invention relates to the technical field of nereus platform construction, in particular to a continuous integration method and system based on k8s and docker containers. Background technique [0002] In the existing technology, the deployment of the container is to write the yaml file by yourself, or use the docker command to deploy after searching for similar yaml files on the Internet. Generally, developers are not very familiar with the yaml file of the docker, and it is easy to make mistakes. It leads to a waste of time. When multiple containers need to be deployed, many different yaml files need to be written, and each one must be deployed. The time cost is multiplied and the work efficiency is extremely low. Contents of the invention [0003] In order to overcome the deficiencies of the prior art, the present invention provides a continuous integration method and system based on k8s and docker containers. The nereus platform of the present ...

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): G06F8/60G06F8/41G06F9/455
CPCG06F8/41G06F8/60G06F9/45558G06F2009/45562
Inventor 杨慧黄志超张海松郭倩江有山
Owner 银盛支付服务股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products