Loading...
Loading...
Manage GitOps workflows with Flux and ArgoCD. Use for sync status, reconciliation, app management, source management, and GitOps troubleshooting.
npx skill4agent add rohitg00/kubectl-mcp-server k8s-gitops| Priority | Rule | Impact | Tools |
|---|---|---|---|
| 1 | Check source readiness before troubleshooting | CRITICAL | |
| 2 | Verify sync status before deployments | HIGH | |
| 3 | Reconcile after git changes | MEDIUM | |
| 4 | Suspend before manual changes | LOW | |
| Task | Tool | Example |
|---|---|---|
| List Flux kustomizations | | |
| Reconcile Flux | | |
| List ArgoCD apps | | |
| Sync ArgoCD | | |
flux_kustomizations_list_tool(namespace="flux-system")
flux_helmreleases_list_tool(namespace)
flux_sources_list_tool(namespace="flux-system")flux_reconcile_tool(
kind="kustomization",
name="my-app",
namespace="flux-system"
)
flux_reconcile_tool(
kind="helmrelease",
name="my-chart",
namespace="default"
)flux_suspend_tool(kind="kustomization", name="my-app", namespace="flux-system")
flux_resume_tool(kind="kustomization", name="my-app", namespace="flux-system")argocd_apps_list_tool(namespace="argocd")argocd_app_get_tool(name="my-app", namespace="argocd")argocd_sync_tool(name="my-app", namespace="argocd")argocd_refresh_tool(name="my-app", namespace="argocd")| Symptom | Check | Resolution |
|---|---|---|
| Source not ready | | Check git credentials |
| Kustomization failed | | Check manifest errors |
| HelmRelease failed | | Check values, chart version |
| Symptom | Check | Resolution |
|---|---|---|
| OutOfSync | | Manual sync or check auto-sync |
| Degraded | Check health status | Fix unhealthy resources |
| Unknown | Refresh app | |
flux_reconcile_tool(kind="kustomization", name="staging", namespace="flux-system")
flux_reconcile_tool(kind="kustomization", name="production", namespace="flux-system")argocd_sync_tool(name="app-staging", namespace="argocd")
argocd_app_get_tool(name="app-staging", namespace="argocd")
argocd_sync_tool(name="app-production", namespace="argocd")flux_kustomizations_list_tool(namespace="flux-system", context="cluster-1")
flux_kustomizations_list_tool(namespace="flux-system", context="cluster-2")
flux_reconcile_tool(
kind="kustomization",
name="apps",
namespace="flux-system",
context="production-cluster"
)argocd_app_get_tool(name="my-app", namespace="argocd")
flux_kustomizations_list_tool(namespace="flux-system")flux installkubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml