arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.23580cs.LG
收藏

MetaKube:一种面向Kubernetes故障诊断的经验感知大语言模型框架

MetaKube: An Experience-Aware LLM Framework for Kubernetes Failure Diagnosis

School of Science(科学学院);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Future Network of Intelligence Institute(深圳未来网络智能研究院);China Mobile Communications Group Guangdong Co., Ltd.(中国移动通信集团广东有限公司)

Wei Sun, Ting Wang, Xinran Tian, Wanshun Lan, Xuhan Feng, Haoyue Li, Fangxin Wang

AI总结:

MetaKube通过三个创新提出经验感知的大语言模型框架,提升Kubernetes故障诊断效率与准确性,实现从Qwen3-8B到接近GPT-4.1的性能提升。

摘要:

现有的基于LLM的Kubernetes诊断系统无法从操作经验中学习,仅依赖静态知识库而无法从以往的解决方法中改进。我们提出了MetaKube,一种通过三个协同创新的经验感知LLM框架:(1)一个经验模式记忆网络(EPMN),从历史解决方法中抽象出诊断模式,为快速模式匹配和引导因果探索提供置信度校准的检索;(2)一个元认知控制器,根据问题熟悉度动态在直觉路径和分析路径之间路由,优化速度与深度之间的权衡;(3)KubeLLM,一个本地部署的8B模型,通过领域特定的后训练在我们的7000个Kubernetes故障解决数据集上增强。在1873个真实世界场景上的评估显示,MetaKube将Qwen3-8B的性能从50.9提升到90.5分,接近GPT-4.1的性能,同时确保完全的数据隐私。EPMN通过经验学习带来15.3%的提升,持续学习实验显示随着系统积累操作知识,性能逐步提升。源代码及相关资源可在https://github.com/MetaKube-LLM-for-Kubernetes-Diagnosis/MetaKube获取。

英文摘要:

Existing LLM-based Kubernetes diagnostic systems cannot learn from operational experience, operating on static knowledge bases without improving from past resolutions. We present MetaKube, an experience-aware LLM framework through three synergistic innovations: (1) an Episodic Pattern Memory Network (EPMN) that abstracts diagnostic patterns from historical resolutions and provides confidence-calibrated retrieval for both rapid pattern matching and guided causal exploration, (2) a meta-cognitive controller that dynamically routes between intuitive and analytical pathways based on problem familiarity, optimizing the trade-off between speed and depth, and (3) KubeLLM, a locally-deployable 8B model enhanced through domain-specific post-training on our 7,000-sample Kubernetes Fault Resolution Dataset. Evaluation on 1,873 real-world scenarios demonstrates MetaKube transforms Qwen3-8B from 50.9 to 90.5 points, approaching GPT-4.1 performance while ensuring complete data privacy. EPMN contributes 15.3% improvement through experiential learning, with continuous learning experiments showing progressive gains as the system accumulates operational knowledge. The source code and related resources are available at https://github.com/MetaKube-LLM-for-Kubernetes-Diagnosis/MetaKube.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑