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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
argocdnamespace - 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
Bình luận
- …
Thêm skill từ kho mã này
frontend-forge-fe-operations
17kGiúp agent của bạn quản lý tài nguyên FrontendExtension trong KubeSphere, gồm xây dựng, xuất bản và gỡ lỗi chúng.
frontend-forge-fi-operations
17kGiúp agent của bạn tạo, cập nhật, bật, tắt và kiểm tra tài nguyên FrontendIntegration cùng mở rộng frontend-forge trong KubeSphere.
frontend-integration-yaml
17kGiúp agent của bạn tạo file YAML FrontendIntegration sẵn sàng để gửi đi cho một menu với một hoặc nhiều trang.
kubeeye
17kGiúp agent của bạn cài đặt KubeEye và thiết lập quy tắc cùng kế hoạch kiểm tra cụm, sau đó đọc các báo cáo kiểm tra.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.