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 a 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.

Role and Member Management

Create and manage roles and members in DevOps projects.

Use DevOps

Create a Pipeline Using a Jenkinsfile

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

Create a Pipeline Using Graphical Editing Panels

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

Credential Management

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

Jenkins System Settings

Learn how to customize your Jenkins settings.

Choose Jenkins Agent

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

Set Email Server for KubeSphere Pipelines

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

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.

Pipeline Settings

Understand various pipeline properties in a DevOps project.

Use Pipeline Templates

Understand how to use pipeline templates on KubeSphere.

Create a Multi-branch Pipeline with GitLab

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

Use Jenkins Shared Libraries in a Pipeline

Learn how to use Jenkins shared libraries in a pipeline.

Trigger a Pipeline by Using a Webhook

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

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.

Customize Jenkins Agent

Learn how to customize a Jenkins agent on KubeSphere.