cs.LGMar 24, 2026

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

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

Organizations: School of Science and Engineering, The Chinese University of Hong Kong, Shenzhen; Shenzhen Future Network of Intelligence Institute, Shenzhen, China · Shenzhen Future Network of Intelligence Institute, Shenzhen, China · China Mobile Communications Group Guangdong Co., Ltd., Guangzhou, China

Abstract

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.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetes

    Sep 20, 2026Rohit Patel, Susil Kumar Mohanty, Jeenal ChaudharyLLM InferenceParallel LLM Inference

  2. A Multi-Dataset Benchmark for Evaluating LLM Agents in Microservice Failure Diagnosis

    Jun 28, 2026Yuanhong Cai, Xiaohui Nie, Kanglin Yin +8Software EngineeringLLM Agent Evaluation

  3. OpsMem: Dual-Memory Reasoning with Cross-Memory Resonance for Failure Diagnosis

    Jul 13, 2026Yongqian Sun, Rongchen Gao, Yu Luo +6LLM Agent MemoryAgent Memory Management