Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)17k · #10767

kubesphere-devops-argocd

Skill này làm gì

Skill này giúp agent AI cấu hình ArgoCD bên trong KubeSphere DevOps. Skill dành cho các đội nhóm triển khai ứng dụng từ Git và muốn việc thiết lập cùng xử lý sự cố được giải thích từng bước.

Khi nào nên dùng

  • ✓Khi bạn muốn thiết lập triển khai liên tục từ một kho Git bằng ArgoCD.
  • ✓Khi bạn cần tạo một ứng dụng hoặc ApplicationSet cho một nhóm cụm.
  • ✓Khi một đồng bộ ArgoCD bị lỗi và bạn muốn tìm nguyên nhân.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-argocd/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể giúp tôi tạo một ứng dụng ArgoCD trong KubeSphere DevOps để triển khai ứng dụng của chúng tôi từ kho Git không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent giải thích hai cách tạo ứng dụng, rồi giúp bạn thiết lập và kiểm tra việc đồng bộ. Nó cũng có thể hướng dẫn đăng nhập một lần và thông tin xác thực kho lưu trữ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Một tenant có thể tạo ứng dụng ArgoCD mà không cần quyền admin không?

Có. Skill mô tả một tuyến GitOps của KubeSphere, tạo ứng dụng trong namespace của tenant.

Skill có bao gồm đăng nhập một lần không?

Có. Nó bao gồm việc bật đăng nhập qua Dex.

Còn quyền truy cập kho lưu trữ thì sao?

Skill bao gồm việc cấu hình thông tin xác thực kho lưu trữ cho ArgoCD.

Chi tiết

Mô tả gốc của tác giả

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

repo: kubesphere/kubesphere

Độ phổ biến

Sao GitHub
17k
Vị trí xếp hạng
#10767
Giấy phép
—
Cập nhật
14/7/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự