本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)17k · #10767

kubesphere-devops-argocd

できること

このスキルは、KubeSphere DevOps内でArgoCDを設定するよう、AIエージェントを支援します。Gitからアプリをデプロイするチームが、設定とトラブルシューティングを段階的に理解できるようにします。

使う場面

  • ✓ArgoCDを使い、Gitリポジトリから継続的デプロイを設定したいとき。
  • ✓複数のクラスターに対して、アプリケーションまたはApplicationSetを作成する必要があるとき。
  • ✓ArgoCDの同期が失敗し、その原因を調べたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-argocd/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“KubeSphere DevOpsで、私たちのGitリポジトリからアプリをデプロイするArgoCDのアプリケーションを作る手伝いをしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、アプリケーションを作る二つの方法を説明し、設定を手伝って同期を確認します。また、Dexによるシングルサインオンやリポジトリの認証情報についても案内します。

技術的な内容(元の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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル