Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AI-Assisted GitOps With Flux MCP Server

AI-Assisted GitOps With Flux MCP Server

Introduction of the Flux MCP Server, a new tool in the Flux CD ecosystem that connects AI assistants to Kubernetes clusters. From KubeCon NA 2025

Avatar for Stefan Prodan

Stefan Prodan

November 13, 2025
Tweet

More Decks by Stefan Prodan

Other Decks in Technology

Transcript

  1. GitOps - Challenges Monorepo complexity vs Config repo sprawl You’ll

    be reading, writing and reviewing LOTS of YAML You’ll become an YAML engineer Drift correction signal-to-noise ratio can be low
  2. Flux MCP - Overview The MCP Server connects AI assistants

    directly to your Kubernetes clusters running Flux Operator, enabling seamless interaction through natural language. Features • GitOps pipeline analysis, generation and refactoring • Engineers learn Flux concepts in the context of your actual infrastructure • Cross-cluster comparison for Flux configuration and Kubernetes workloads • AI-assisted troubleshooting & root cause analysis
  3. Flux MCP - Security Considerations The Flux MCP Server is

    designed with security in mind: • Operates with your existing kubeconfig permissions • Supports service account impersonation for limited access • Masks sensitive information in Kubernetes Secret values • Provides a Kubernetes read-only mode for observation without affecting the cluster state When running the MCP Server in-cluster with Streamable HTTP, cluster-admins can configure OIDC-auth, Kubernetes group impersonation with fine-grained access control.
  4. Flux MCP - Tools Read Tools • get_flux_instance / get_kubernetes_resources

    / get_kubernetes_api_versions • get_kubernetes_logs / get_kubernetes_metrics • search_flux_docs Write Tools • reconcile_flux_source / suspend_flux_reconciliation / resume_flux_reconciliation • apply_kubernetes_manifest / delete_kubernetes_resource • install_flux_instance
  5. Agentic AI - Incident Management The AI assistants leveraging the

    Flux MCP can reduce the mean time to resolution (MTTR) during incidents with contextual analysis and actionable remediation steps. • Trace issues from high-level GitOps resources like ResourceSets, Helm Releases, and Kustomizations all the way down to Kubernetes pods • Correlate events, logs, and configuration changes to identify the source of failures in GitOps pipelines
  6. Flux MCP - Roadmap Highlights Better docs indexing Enhanced docs

    search tool with embedded index for air-gapped environments. SSO built-in integration Native support for Google, GitHub and Microsoft Entra ID Tool usage policies Fine-grained tool allow list for cluster admins https://fluxcd.control-plane.io/mcp/