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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
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
よくある質問
管理者権限がなくても、テナントが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
コメント
- …
このリポジトリの他のスキル
frontend-forge-fe-operations
17kエージェントが、KubeSphereでFrontendExtensionリソースを管理し、ビルド、公開、デバッグを行えるよう支援します。
frontend-forge-fi-operations
17kエージェントが、KubeSphereでFrontendIntegrationリソースとfrontend-forge拡張機能を作成、更新、有効化、無効化、確認できるよう支援します。
frontend-integration-yaml
17kエージェントが、一つのメニューと一つ以上のページについて、そのまま提出できるFrontendIntegrationのYAMLを作成できるよう支援します。
kubeeye
17kエージェントが、KubeEyeをインストールし、クラスターの点検ルールと計画を設定して、点検レポートを読めるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。