Kubernetes GitOps
БесплатноБез исполняемых скриптовНе проверенManage GitOps workflows with Flux and ArgoCD. Use for sync status, reconciliation, app management, source management, and GitOps troubleshooting.
от rohitg00319 установок в других каталогахОб этом скилле
Kubernetes GitOps
GitOps workflows using Flux and ArgoCD with kubectl-mcp-server tools.
Requires the
gitopstoolset: start kubectl-mcp-server with--toolsets default,gitops(orMCP_TOOLSETS=default,gitops). For deep work, the project-maintained MCP servers may fit better: Argo CD: https://github.com/argoproj-labs/mcp-for-argocd; Flux: https://fluxoperator.dev/mcp-server/.
When to Apply
Use this skill when:
- User mentions: "Flux", "ArgoCD", "GitOps", "sync", "reconcile"
- Operations: checking sync status, triggering reconciliation, drift detection
- Keywords: "out of sync", "deploy from git", "continuous delivery"
Priority Rules
| Priority | Rule | Impact | Tools |
|---|---|---|---|
| 1 | Check source readiness before troubleshooting | CRITICAL | gitops_sources_list |
| 2 | Verify sync status before deployments | HIGH | gitops_app_get |
| 3 | Reconcile after git changes | MEDIUM | gitops_app_sync |
| 4 | Suspend before manual changes | LOW | kubectl_patch |
Quick Reference
| Task | Tool | Example |
|---|---|---|
| List Flux kustomizations | gitops_apps_list |
gitops_apps_list(namespace) |
| Reconcile Flux | gitops_app_sync |
gitops_app_sync(kind, name, namespace) |
| List ArgoCD apps | gitops_apps_list |
gitops_apps_list(namespace) |
| Sync ArgoCD | gitops_app_sync |
gitops_app_sync(name, namespace) |
Flux CD
Check Flux Status
gitops_apps_list(namespace="flux-system")
gitops_apps_list(namespace)
gitops_sources_list(namespace="flux-system")
Reconcile Resources
gitops_app_sync(
kind="kustomization",
name="my-app",
namespace="flux-system"
)
gitops_app_sync(
kind="helmrelease",
name="my-chart",
namespace="default"
)
Suspend/Resume
kubectl_patch(resource_type="kustomization", name="my-app", namespace="flux-system", patch={"spec": {"suspend": true}}, patch_type="merge")
kubectl_patch(resource_type="kustomization", name="my-app", namespace="flux-system", patch={"spec": {"suspend": false}}, patch_type="merge")
See FLUX.md for detailed Flux workflows.
ArgoCD
List Applications
gitops_apps_list(namespace="argocd")
Get App Status
gitops_app_get(kind="application", name="my-app", namespace="argocd")
Sync Application
gitops_app_sync(kind="application", name="my-app", namespace="argocd")
Refresh App
gitops_app_sync(kind="application", name="my-app", namespace="argocd")
See ARGOCD.md for detailed ArgoCD workflows.
GitOps Troubleshooting
Flux Not Syncing
| Symptom | Check | Resolution |
|---|---|---|
| Source not ready | gitops_sources_list() |
Check git credentials |
| Kustomization failed | gitops_apps_list() |
Check manifest errors |
| HelmRelease failed | gitops_apps_list() |
Check values, chart version |
ArgoCD Out of Sync
| Symptom | Check | Resolution |
|---|---|---|
| OutOfSync | gitops_app_get() |
Manual sync or check auto-sync |
| Degraded | Check health status | Fix unhealthy resources |
| Unknown | Refresh app | gitops_app_sync() |
Environment Promotion
With Flux Kustomizations
gitops_app_sync(kind="kustomization", name="staging", namespace="flux-system")
gitops_app_sync(kind="kustomization", name="production", namespace="flux-system")
With ArgoCD
gitops_app_sync(kind="application", name="app-staging", namespace="argocd")
gitops_app_get(kind="application", name="app-staging", namespace="argocd")
gitops_app_sync(kind="application", name="app-production", namespace="argocd")
Multi-Cluster GitOps
Manage GitOps across clusters:
gitops_apps_list(namespace="flux-system", context="cluster-1")
gitops_apps_list(namespace="flux-system", context="cluster-2")
gitops_app_sync(
kind="kustomization",
name="apps",
namespace="flux-system",
context="production-cluster"
)
Drift Detection
Compare live state with desired:
gitops_app_get(kind="application", name="my-app", namespace="argocd")
gitops_apps_list(namespace="flux-system")
Prerequisites
- Flux: Required for Flux tools
flux install - ArgoCD: Required for ArgoCD tools
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Related Skills
- k8s-deploy - Standard deployments
- k8s-helm - Helm chart management
Установить Kubernetes GitOps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Kubernetes GitOps?
Manage GitOps workflows with Flux and ArgoCD. Use for sync status, reconciliation, app management, source management, and GitOps troubleshooting.
Как установить скилл Kubernetes GitOps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Kubernetes GitOps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub