gitops-cluster-debug

Diagnose Flux CD issues on live Kubernetes clusters with root-cause analysis.

Updated Jul 23, 2025
One-click install
npx skills add https://github.com/Sandesh-Solabannavar/flux-homelab --skill gitops-cluster-debug-sandesh-solabannavar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitops-cluster-debug
Source: https://github.com/Sandesh-Solabannavar/flux-homelab/tree/main/.agents/skills/gitops-cluster-debug
Command: npx skills add https://github.com/Sandesh-Solabannavar/flux-homelab --skill gitops-cluster-debug-sandesh-solabannavar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Debug Flux CD issues on live Kubernetes clusters by inspecting Flux resources, controller status, and cluster events to surface root causes.

Core Features & Use Cases

  • Inspect FluxInstance, HelmRelease, Kustomization, GitRepository statuses and related events to identify failing components.
  • Read controller logs and inventory to trace dependency chains from sources to managed resources.
  • Produce a structured root-cause analysis with actionable remediation steps.

Quick Start

Run the GitOps Cluster Debugger against a live cluster to collect Flux status, controller health, and a root-cause analysis.

Frequently Asked Questions about gitops-cluster-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Flux CD issues on a live Kubernetes cluster?

Trace Flux CD dependency chains by reading controller health, inventory, and resource events from FluxInstance, Kustomizations, HelmReleases, and GitRepositories to identify failing components and pinpoint root causes.

Why is my Flux CD Kustomization or HelmRelease failing to synchronize?

Flux CD synchronization fails due to source misconfigurations, unhealthy controllers, or dependency issues, identified by inspecting FluxInstance, HelmRelease, Kustomization, and GitRepository statuses alongside related cluster events.

Do I need the flux-operator-mcp to troubleshoot GitOps resources?

Yes, troubleshooting GitOps resources with this approach requires access to the flux-operator-mcp server and an active Kubernetes cluster context to collect Flux statuses and trace resource dependencies.

How does root-cause analysis work for Flux CD controller failures?

Root-cause analysis for Flux CD controller failures works by collecting controller health data and resource events, tracing dependency chains from GitRepository sources to managed resources to produce structured remediation steps.

What is the best way to trace Flux CD dependency chains from sources to managed resources?

The best way to trace Flux CD dependency chains is by reading controller inventories and logs to map the progression from GitRepository sources through Kustomizations and HelmReleases down to failing managed resources.