Unlock instant, AI-driven research and patent intelligence for your innovation.

Elastic CICD method based on jenkins and kubernetes platforms

A platform and elastic technology, applied in the field of elastic CICD, can solve the problems of Jenkins platform easy to reach system, Jenkins expansion complexity, Jenkins execution slowness, etc., to achieve continuous operation, improve efficiency and resource utilization, and reduce platform paralysis.

Pending Publication Date: 2020-07-31
HANGZHOU QUWEI SCI & TECH
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the rise of microservices, the work tasks of software development teams have increased exponentially, and the jenkins platform is also prone to system bottlenecks
Because the expansion of jenkins is very complicated, in the actual development process, there are often problems that jenkins executes slowly due to reaching the bottleneck

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
  • Elastic CICD method based on jenkins and kubernetes platforms
  • Elastic CICD method based on jenkins and kubernetes platforms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] A flexible CICD method based on jenkins and kubernetes platform, comprising the following steps:

[0056] Step S1: Create a kubernetes cluster: set at least two servers with centos7.6 systems, install the kubernetes platform through the kubeadmin mode, in this embodiment, the kubernetes platform of version 1.14.1;

[0057] Step S2: deploy jenkins master;

[0058] Step S3: Write the pipeline script.

[0059]The purpose of setting at least two servers in step S1 is to avoid the failure of one server to cause the k8s cluster to be paralyzed and affect the user's use. In this embodiment, three servers are used; the jenkins master is deployed in step S2, and the master node is used to The slave node issues instructions, where the slave node can be windows slave node, linux slave node, unix slave node, mac slave node, etc. By deploying the jenkins master in the kubernetes cluster, the master downtime can be effectively prevented; the pipeline script can be regarded as jenkin...

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 an elastic CICD method based on jenkins and kubernetes platforms. The method comprises the following steps: S1, creating a kubernetes cluster; S2, deploying a jenkins master, and deploying a jenkins slave; S3, compiling a pipeline script, wherein the operation process of the pipeline script comprises the following steps that 1, a developer submits a code to a k8s platform;2, a warehouse management system (bitlab) in the platform manages the codes; 3, the jenkins obtain the codes from the warehouse management system and execute the CICD task; 4, k8s performs rolling updating according to the code uploaded by the jenkins; jenkins are deployed on a kubernetes platform, so that the stability of the jenkins is improved.

Description

technical field [0001] The invention relates to the computer field, in particular to a flexible CICD method based on jenkins and kubernetes platforms. Background technique [0002] In the process of software development, CICD method is inseparable, and CICD refers to the method of continuous integration, continuous delivery and continuous deployment formed in the process of software development. At present, the DevOps mode is being implemented in the software development industry. In order to improve efficiency, the development team will adopt the working mode of the software delivery pipeline (pipeline). The pipeline can be used as a plug-in in the Jenkins platform, and it can realize and integrate continuous delivery in Jenkins. However, with the rise of microservices, the work tasks of software development teams have increased exponentially, and the Jenkins platform is also prone to reaching system bottlenecks. Because the expansion of jenkins is very complicated, in the...

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
IPC IPC(8): G06F9/455G06F8/61
CPCG06F9/45558G06F8/63G06F2009/45562
Inventor 王耀伟顾湘余韩晟
Owner HANGZHOU QUWEI SCI & TECH