flux-operator
by controlplaneio-fluxcd·★ 628·综合分 51
Flux MCP 服务器通过自然语言将 AI 助手与 Kubernetes 集群连接,实现 GitOps 操作。
概述
Flux MCP 服务器是 Flux Operator 项目的一部分,通过自动化 Flux 控制器的安装、配置和升级来提供'_flux CD 的自动驾驶_'功能。它将 AI 助手与运行操作员的 Kubernetes 集群连接,通过自然语言实现无缝交互。该服务器充当 AI 工具和 GitOps 管道之间的桥梁,允许通过对话提示分析跨环境的部署、排查问题和执行操作。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您已经在使用 Flux CD 进行 GitOps 操作,并希望通过自然语言利用 AI 助手分析部署、排查问题和执行操作,请选择此 MCP 服务器。
什么时候不要选它
如果您未在基础架构中使用 Flux CD,或者需要为 GitHub、GitLab、Gitea 和 Azure DevOps 以外的平台使用 GitOps 工具,且不使用 Flux Operator,请避免使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具create_flux_instanceCreate or update a FluxInstance to install and configure Flux controllers
get_flux_reportRetrieve the FluxReport to monitor deployment status and reconciler statistics
create_resource_setCreate a ResourceSet to define a group of Flux and Kubernetes resources
sync_from_gitConfigure Flux to sync cluster state from a Git repository
create_git_secretCreate a Kubernetes secret for accessing private Git repositories
get_flux_statusCheck the readiness status of Flux controllers
port_forward_flux_uiPort forward the Flux Web UI service for access
configure_ephemeral_environmentSet up ephemeral environments for pull request testing
apply_kustomize_patchesApply Kustomize patches to customize Flux controller deployments
get_reconciler_statsRetrieve statistics about Flux reconcilers
configure_cluster_syncConfigure cluster synchronization from Git or container registries
configure_flux_shardingConfigure Flux controller sharding for multi-cluster deployments
说明:Tool names were inferred from the CRD names and configuration options mentioned in the README. The README mentions FluxInstance, FluxReport, and ResourceSet APIs but doesn't provide explicit MCP tool names. The tools are designed to interac
可对比工具
安装
安装 Flux MCP 服务器
Flux MCP 服务器已集成到 Flux Operator 中。首先安装 Flux Operator:
helm install flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \
--namespace flux-system然后配置 FluxInstance 以包含必要的组件。安装操作员时会自动启用 MCP 服务器。
对于 Claude Desktop,添加到您的 config.json:
{
"mcpServers": {
"flux": {
"command": "npx",
"args": ["@fluxcd/mcp-server"]
}
}
}FAQ
- Flux MCP 服务器是什么?
- Flux MCP 服务器将 AI 助手与运行 Flux Operator 的 Kubernetes 集群连接,通过自然语言与 GitOps 管道交互。
- Flux MCP 服务器如何与现有工作流集成?
- 它扩展了 Flux Operator 的功能,允许 AI 助手通过对话提示分析部署、排查问题和执行操作,同时保持现有的 GitOps 工作流。
flux-operator 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。