Saltar al contenido
Skillpedia
Deploy y nube (DevOps)17 mil · #10770

kubesphere-devops-overview

Qué hace

Esta skill ofrece a un agente de IA un mapa de KubeSphere DevOps. Está pensada para equipos que compilan, prueban y despliegan con pipelines dentro de KubeSphere.

Cuándo usarla

  • ✓Cuando configuras por primera vez pipelines de CI/CD en KubeSphere.
  • ✓Cuando necesitas conectar un servicio de código como GitHub, GitLab o SVN a un proyecto de DevOps.
  • ✓Cuando una ejecución de pipeline falla y quieres encontrar en qué punto está el problema.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-overview/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Soy nuevo en KubeSphere DevOps. ¿Puedes explicarme cómo se relacionan los proyectos y los pipelines con Jenkins y después ayudarme a configurar un primer pipeline?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente explica cómo los objetos de KubeSphere se corresponden con los objetos de Kubernetes y los trabajos de Jenkins. Después te indica la siguiente skill o los pasos adecuados para pipelines, Jenkins, ArgoCD o las comprobaciones de calidad de código.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Qué es un proyecto de DevOps en KubeSphere?

La skill explica que un proyecto de DevOps es un espacio de nombres de Kubernetes con una etiqueta especial, con un recurso envoltorio encima.

¿Qué servicios de código cubre?

La skill menciona repositorios de GitHub, GitLab y SVN.

¿Cubre herramientas de calidad de código?

Sí. Menciona SonarQube como forma de comprobar la calidad del código en los pipelines.

Detalles

Descripción original del autor

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

repo: kubesphere/kubesphere

Popularidad

Estrellas en GitHub
17 mil
Posición en el ranking
#10770
Licencia
—
Actualizada
14/7/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas