Jenkins and K3S-based software environment rapid deployment method

A software environment and rapid technology, applied in software deployment, software maintenance/management, software simulation/interpretation/simulation, etc., can solve the problems of unable to meet the requirements of rapid delivery and deployment, complex K8s deployment and structure, and low degree of machine intensification, etc. problems, to achieve the effect of convenient delivery and deployment, convenient version management, and convenient version rollback

Pending Publication Date: 2021-02-09
江苏云坤信息科技有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The traditional software deployment method based on physical machines or virtual machines has a low degree of machine intensification, requires a large number of machine resources and operation and maintenance personnel, and requires a large number of deployment documents to support
Cannot meet the requirements of rapid delivery deployment
[0008] 2. Deployment based on the container image deployment method of

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
  • Jenkins and K3S-based software environment rapid deployment method
  • Jenkins and K3S-based software environment rapid deployment method
  • Jenkins and K3S-based software environment rapid deployment method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0057] Such as Figures 1 to 3 The rapid deployment method of the software environment based on jenkins and K3S is characterized in that it comprises the following steps:

[0058] Step 1. Based on automated operation and maintenance tools, implement the deployment of K3s and the distributed scripting system GlusterFS. During the implementation period, ansible is deployed based on automated operation and maintenance tools, and deployment scripts are written to realize the fast part of K3s and distributed script system GlusterFS. At the same time, the K3s cluster machine is mounted to the deployed distributed script system, defines the software yaml script to be dep...

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 relates to a jenkins and K3S-based software environment rapid deployment method, which realizes deployment of K3s and a distributed script system GlusterFS on the basis of an automatic operation and maintenance tool. Mounting to the distributed script system GlusterFS deployed in the step 1 through a K3s cluster machine is carried out, and the software yaml script to be deployed is defined. A jenkins docker container mirror image is constructed, so that rapid deployment of the jenkins environment is realized. A jenkins task is configured, a service code warehouse address is constructed, and an automatic production management script is generated. A shell script constructed by software is specified in the Pipline, and the automatic production management version description script is saved in a code directory. The corresponding container can be controlled to be restarted through K3s Kubectl, and service updating is achieved. Therefore, delivery and deployment of small and medium-sized software projects are facilitated, deployment is quick, and later operation and maintenance are convenient. The construction time in the software research and development process can be shortened, and construction can be conducted according to needs. And copying and reconstruction of a software research and development continuous integration environment are facilitated. Version management and version rollback are facilitated.

Description

technical field [0001] The invention relates to a rapid deployment method, in particular to a rapid deployment method for a software environment based on jenkins and K3S. Background technique [0002] As far as the existing software deployment stages are concerned, it has gone through several stages of development, as follows: [0003] The first stage 1. Manual code construction and manual deployment. The deployment method is mainly based on physical servers, and the basic software operating environment and business codes need to be installed one by one. [0004] The second stage 2. The development of virtualization technology, gradually migrating from physical machines to virtual machines. Along with some form of software automation for building and deploying. [0005] The third stage 3. With the new development of DevOps and the development of containerization technology. Gradually develop in the direction of automated construction, pipeline orchestration, and containe...

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): G06F8/61G06F8/71G06F9/445G06F9/455
CPCG06F8/63G06F8/71G06F9/44505G06F9/45558G06F2009/45562G06F2009/4557G06F2009/45575
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