Skip to content
Skillpedia
Deploy & cloud (DevOps)17k Β· #10770

kubesphere-devops-overview

What it does

This skill gives an AI agent a map of KubeSphere DevOps. It is for teams that build, test and deploy with pipelines inside KubeSphere.

When to use it

  • βœ“When you are setting up CI/CD pipelines in KubeSphere for the first time.
  • βœ“When you need to connect a code host such as GitHub, GitLab or SVN to a DevOps project.
  • βœ“When a pipeline run is failing and you want to find where the problem sits.

Skill link

https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-overview/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-overview/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI am new to KubeSphere DevOps. Can you explain how projects and pipelines map to Jenkins, then help me set up a first pipeline?”

5 new skills a week. 1 minute to read.

How it works

The agent explains how KubeSphere objects match Kubernetes objects and Jenkins jobs. It then points you to the right next skill or steps for pipelines, Jenkins, ArgoCD or code quality checks.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

KubeSphere DevOps Overview

Overview

KubeSphere DevOps provides CI/CD capabilities through Jenkins integration, supporting both graphical pipeline editing and Jenkinsfile-based pipelines. It enables automated builds, testing, and deployments across multi-cluster environments with ArgoCD integration for GitOps continuous deployment.

When to Use

  • Setting up CI/CD pipelines in KubeSphere
  • Configuring Jenkins integration
  • Managing DevOps projects and pipelines
  • Troubleshooting pipeline execution issues
  • Integrating with GitHub, GitLab, or SVN repositories
  • Configuring SonarQube for code quality

Core Concepts

Resource Mapping

KubeSphere DevOps maps resources across three layers:

KubeSphere          Kubernetes                    Jenkins
─────────────────────────────────────────────────────────────
Workspace           Workspace CR                  (authorization)
└── DevOpsProject   β”œβ”€β”€ DevOpsProject CR          └── Folder
    (Namespace)     └── Namespace (with label)
    └── Pipeline    β”œβ”€β”€ Pipeline CR               └── WorkflowJob
        └── Run     β”œβ”€β”€ PipelineRun CR            └── Build #N

Key Concept: A "DevOps Project" in KubeSphere is fundamentally a Kubernetes namespace with the devops.kubesphere.io/managed=true label. The DevOpsProject CR exists as a wrapper resource, but when querying for accessible DevOps projects, you interact with namespaces, not the DevOpsProject CRs directly.

For tenants: Use the /kapis/devops.kubesphere.io/v1alpha3/workspaces/{workspace}/namespaces endpoint to list accessible DevOps projects (returns namespace resources). The /apis/devops.kubesphere.io/v1alpha3/devopsprojects endpoint requires cluster-scoped permissions and returns 403 for tenants.

DevOps Project Naming Convention

DevOps projects have two forms of names:

Name Type Example Source Usage
Shortname devopstest .metadata.generateName in DevOpsProject CR Display/user-friendly name
Fullname devopstestc2nj7 .metadata.name in DevOpsProject CR and Namespace Actual resource identifier

Important:

  • The fullname is the actual Kubernetes namespace name (e.g., devopstestc2nj7)
  • When creating a DevOps project with shortname devopstest, KubeSphere generates a unique fullname by appending random characters
  • All API operations use the fullname (namespace name), not the shortname
  • When a user refers to a project by shortname and multiple projects match, ask for confirmation before proceeding

Workspace Association

DevOpsProjects belong to a Workspace via label:

apiVersion: devops.kubesphere.io/v1alpha3
kind: DevOpsProject
metadata:
  name: my-project
  labels:
    kubesphere.io/workspace: demo   # Associates with Workspace 'demo'

To create and associate:

# 1. Create Workspace
kubectl apply -f - <<EOF
apiVersion: tenant.kubesphere.io/v1beta1
kind: Workspace
metadata:
  name: demo
EOF

# 2. Create DevOpsProject with label
kubectl apply -f - <<EOF
apiVersion: devops.kubesphere.io/v1alpha3
kind: DevOpsProject
metadata:
  name: my-project
  labels:
    kubesphere.io/workspace: demo
EOF

Project Components

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     DevOps Project                            β”‚
β”‚  (Namespace with devops.kubesphere.io/managed=true label)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚              β”‚              β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚  Pipelines   β”‚ β”‚Credentialsβ”‚ β”‚   Webhooks  β”‚
β”‚              β”‚ β”‚           β”‚ β”‚             β”‚
β”‚ - Graphical  β”‚ β”‚ - SSH     β”‚ β”‚ - GitHub    β”‚
β”‚ - Jenkinsfileβ”‚ β”‚ - Basic   β”‚ β”‚ - GitLab    β”‚
β”‚ - Multi-branchβ”‚ β”‚ - Token  β”‚ β”‚ - Generic   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Installation

Using InstallPlan (Recommended for Production)

Minimal Installation (Default Config) - RECOMMENDED:

apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
  name: devops
  namespace: kubesphere-system
spec:
  extension:
    name: devops
    version: 1.2.4
  enabled: true
  upgradeStrategy: Manual   # Required for production
  # Note: spec.config is omitted to use extension default values

When to use minimal installation:

  • First-time installation to test default configuration
  • Standard depl
FAQ

What is a DevOps project in KubeSphere?

The skill explains that a DevOps project is a Kubernetes namespace with a special label, with a wrapper resource on top.

Which code hosts are covered?

The skill mentions GitHub, GitLab and SVN repositories.

Does it cover code quality tools?

Yes. It mentions SonarQube as a way to check code quality in pipelines.

Details

Original description by the author

Use when working with KubeSphere DevOps extension, CI/CD pipelines, Jenkins integration, or pipeline troubleshooting

repo: kubesphere/kubesphere

Popularity

GitHub stars
17k
Ranking position
#10770
License
β€”
Updated
7/14/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills