본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10767

kubesphere-devops-argocd

하는 일

이 스킬은 AI 에이전트가 KubeSphere DevOps 안에서 ArgoCD를 설정하도록 돕습니다. Git에서 애플리케이션을 배포하며, 설정과 문제 해결을 단계별로 알고 싶은 팀을 위한 스킬입니다.

사용하는 경우

  • ✓ArgoCD로 Git 저장소에서 지속적 배포를 설정하고 싶을 때.
  • ✓클러스터 집합을 위한 애플리케이션이나 ApplicationSet을 만들어야 하는 경우.
  • ✓ArgoCD 동기화가 실패해서 원인을 찾아야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-argocd/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“KubeSphere DevOps에서 우리 Git 저장소의 앱을 배포하는 ArgoCD 애플리케이션을 만들도록 도와주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 애플리케이션을 만드는 두 가지 방법을 설명한 뒤, 설정하고 동기화가 되는지 확인하도록 돕습니다. 단일 로그인과 저장소 인증 정보 설정도 안내할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

테넌트가 관리자 권한 없이 ArgoCD 애플리케이션을 만들 수 있나요?

네. 스킬은 테넌트 네임스페이스에 애플리케이션을 만드는 KubeSphere GitOps 경로를 설명합니다.

스킬이 단일 로그인도 다루나요?

네. Dex를 통해 로그인을 켜는 방법을 다룹니다.

저장소 접근은 어떻게 하나요?

ArgoCD의 저장소 인증 정보를 설정하는 방법을 다룹니다.

상세 정보

작성자의 원본 설명

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

repo: kubesphere/kubesphere

인기도

GitHub 스타
17k
순위
#10767
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬