Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)17k Β· #10767

kubesphere-devops-argocd

Fungsinya

Skill ini membantu agent AI mengonfigurasi ArgoCD di dalam KubeSphere DevOps. Skill ini untuk tim yang men-deploy aplikasi dari Git dan ingin penyiapan serta pemecahan masalahnya dijelaskan langkah demi langkah.

Kapan dipakai

  • βœ“Saat Anda ingin menyiapkan deployment berkelanjutan dari repositori Git dengan ArgoCD.
  • βœ“Saat Anda perlu membuat aplikasi atau ApplicationSet untuk sekumpulan klaster.
  • βœ“Saat sinkronisasi ArgoCD gagal dan Anda ingin penyebabnya ditemukan.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-argocd/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda membantu saya membuat aplikasi ArgoCD di KubeSphere DevOps yang men-deploy aplikasi kami dari repositori Git?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjelaskan dua cara membuat aplikasi, lalu membantu Anda menyiapkannya dan memastikan sinkronisasinya berjalan. Agent juga dapat memandu single sign-on dan kredensial repositori.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

KubeSphere DevOps ArgoCD Configuration

Overview

KubeSphere DevOps includes ArgoCD v2.11.7 as a bundled subchart for GitOps continuous deployment. ArgoCD follows the declarative GitOps pattern, automatically syncing application state with Git repositories.

When to Use

  • Setting up GitOps continuous deployment
  • Configuring ArgoCD applications and ApplicationSets
  • Enabling SSO authentication via Dex
  • Managing multi-cluster deployments
  • Troubleshooting ArgoCD sync issues
  • Configuring repository credentials

KubeSphere GitOps Integration

Two Ways to Create Applications

1. Direct ArgoCD Application (Admin Only)

  • Created in argocd namespace
  • Requires access to ArgoCD namespace
  • Full control over ArgoCD configuration

2. KubeSphere GitOps Application (Tenant-Friendly)

  • Created via /kapis/gitops.kubesphere.io/v1alpha1/
  • Application CR created in tenant namespace
  • KubeSphere automatically creates corresponding ArgoCD Application
  • Tenant doesn't need direct ArgoCD access

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Tenant Namespace                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”‚
β”‚  β”‚  Application (gitops.kubesphere.io/v1alpha1) β”‚           β”‚
β”‚  β”‚  - Created by tenant via KubeSphere API      β”‚           β”‚
β”‚  β”‚  - Label: gitops.kubesphere.io/argocd-location: argocd β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β”‚ KubeSphere Controller watches
                       β”‚ and creates corresponding
                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    argocd Namespace                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”‚
β”‚  β”‚  Application (argoproj.io/v1alpha1)          β”‚           β”‚
β”‚  β”‚  - Created automatically by KubeSphere       β”‚           β”‚
β”‚  β”‚  - References tenant namespace as target     β”‚           β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                       β”‚
                       β”‚ ArgoCD Controller reconciles
                       β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Tenant Namespace                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”‚
β”‚  β”‚  Deployed Resources (Pods, Services, etc.)   β”‚           β”‚
β”‚  β”‚  - Created by ArgoCD                         β”‚           β”‚
β”‚  β”‚  - Managed via GitOps                        β”‚           β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Differences

Aspect Direct ArgoCD KubeSphere GitOps
Namespace argocd Tenant's namespace
Access Required ArgoCD namespace Tenant namespace only
API Endpoint N/A (kubectl) /kapis/gitops.kubesphere.io/v1alpha1/
Tenant Can Create ❌ No βœ… Yes
ArgoCD UI Access βœ… Yes ❌ No (transparent)
Multi-tenancy Shared Isolated per tenant

Architecture

ArgoCD Components

Component Pod Name Pattern Purpose
Application Controller devops-agent-argocd-application-controller-* Reconciles Application state
ApplicationSet Controller devops-agent-argocd-applicationset-controller-* Manages ApplicationSet CRDs
Dex Server devops-agent-argocd-dex-server-* SSO authentication proxy
Notifications Controller devops-agent-argocd-notifications-controller-* Event notifications
Redis devops-agent-argocd-redis-* Cache and state storage
Repo Server devops-agent-argocd-repo-server-* Git repository operations
ArgoCD Server devops-agent-argocd-server-* API and UI

Namespace: argocd (configurable via argocd.namespace)

Installation & Verification

Check ArgoCD Status

# Verify ArgoCD namespace exists
kubectl get ns argocd

# Check all ArgoCD pods
kubectl get pods -n argocd

# Check ArgoCD services
kubectl get svc -n argocd

Access ArgoCD UI

# Get ArgoCD server service
kubectl get svc devops-agent-argocd-server -n argocd

# Port-forward for local access
kubectl port
Pertanyaan umum

Bisakah tenant membuat aplikasi ArgoCD tanpa akses admin?

Bisa. Skill ini menjelaskan jalur GitOps KubeSphere yang membuat aplikasi di namespace tenant.

Apakah skill ini mencakup single sign-on?

Ya. Skill ini mencakup pengaktifan login melalui Dex.

Bagaimana dengan akses repositori?

Skill ini mencakup konfigurasi kredensial repositori untuk ArgoCD.

Detail

Deskripsi asli dari pembuat

Use when configuring ArgoCD in KubeSphere DevOps, including GitOps deployments, application management, SSO setup, or troubleshooting ArgoCD issues

repo: kubesphere/kubesphere

Popularitas

Bintang GitHub
17k
Peringkat
#10767
Lisensi
β€”
Diperbarui
14/7/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa