< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

DevOps User Guide

To deploy and manage your CI/CD tasks and related workloads on your Kubernetes clusters, you use the KubeSphere DevOps system. This chapter demonstrates how to manage and work in DevOps projects, including running pipelines, creating credentials, and integrating tools.

As you install the DevOps component, Jenkins is automatically deployed. KubeSphere provides you with consistent user experience as you can build a pipeline through the Jenkinsfile just as you did before. Besides, KubeSphere features graphical editing panels that visualize the whole process, presenting you with a straightforward view of how your pipeline is running at what stage.

Understand and Manage DevOps Projects

Overview

Develop a basic understanding of DevOps.

DevOps Project Management

Create and manage DevOps projects, and understand basic elements in DevOps projects.

Use DevOps

Pipelines

Create a Pipeline Using Graphical Editing Panels

Learn how to create and run a pipeline by using the graphical editing panel of KubeSphere.

Create a Pipeline Using a Jenkinsfile

Learn how to create and run a pipeline by using an example Jenkinsfile.

Use Pipeline Templates

Understand how to use pipeline templates on KubeSphere.

Pipeline Settings

Understand various pipeline properties in a DevOps project.

Use Pipeline Step Templates

Learn how to configure and use pipeline step templates in KubeSphere.

Create a Multi-branch Pipeline with GitLab

Learn how to create a multi-branch pipeline with GitLab on KubeSphere.

Jenkins System Settings

Learn how to customize your Jenkins settings.

Use Jenkins Shared Libraries in a Pipeline

Learn how to use Jenkins shared libraries in a pipeline.

Set Email Server for KubeSphere Pipelines

Set the email server to receive notifications of your Jenkins pipelines.

Trigger a Pipeline by Using a Webhook

Learn how to trigger a Jenkins pipeline by using a webhook.

Choose Jenkins Agent

Specify the Jenkins agent and use the built-in podTemplate for your pipeline.

Customize Jenkins Agent

Learn how to customize a Jenkins agent on KubeSphere.

Continuous Deployments

Use GitOps to Achieve Continuous Deployment of Applications

Describe how to use GitOps for continuous deployment on KubeSphere.

Code Repositories

Import a Code Repository

Describe how to import a code repository on KubeSphere.

DevOps Settings

Credential Management

Create credentials so that your pipelines can communicate with third-party applications or websites.

Role and Member Management

Create and manage roles and members in DevOps projects.

Add a Continuous Deployment Allowlist

Describe how to add a continuous deployment allowlist on KubeSphere.

Set a CI Node for Dependency Caching

Configure a node or a group of nodes specifically for continuous integration (CI) to speed up the building process in a pipeline.

Tool Integration

Integrate SonarQube into Pipelines

Integrate SonarQube into your pipeline for code quality analysis.

Integrate Harbor into Pipelines

Integrate Harbor into your pipeline to push images to your Harbor registry.

Examples

Build and Deploy a Go Project

Learn how to build and deploy a Go project using a KubeSphere pipeline.

Deploy Apps in a Multi-cluster Project Using a Jenkinsfile

Learn how to deploy apps in a multi-cluster project using a Jenkinsfile-based pipeline.

Build and Deploy a Maven Project

Learn how to build and deploy a Maven project using a KubeSphere pipeline.

Create a Multi-cluster Pipeline

Learn how to create a multi-cluster pipeline on KubeSphere.

Use Nexus in Pipelines

Learn how to use Nexus in pipelines on KubeSphere.