Kivi: 集群管理验证
Kivi: Verification for Cluster Management
AI总结:
针对集群管理系统复杂非确定易引发故障的问题,提出首个验证系统Kivi,通过模型检验及拓扑约简等优化,可有效发现Kubernetes的问题并找到源码新漏洞。
摘要:
现代云基础设施由Kubernetes、Docker Swarm等集群管理系统提供支撑。这类系统虽旨在降低用户运维负担,但其复杂、动态且非确定性的特性导致行为难以推演,可能引发从性能下降到服务中断的各类故障。我们提出Kivi——首个用于验证集群管理系统中控制器及其配置的系统。Kivi聚焦主流系统Kubernetes,将其控制器与事件建模为进程,通过模型检验穷尽检查所有进程交错情况。为应对自动扩缩容与大规模部署场景,我们的核心设计是在更小的约简拓扑中查找违规情况,还在Kivi中实现了多项模型优化以适配大规模集群。实验表明,Kivi在真实复杂场景中能有效、准确地发现问题,并已在Kubernetes控制器源码中找到两个新问题。
英文摘要:
Modern cloud infrastructure is powered by cluster management systems such as Kubernetes and Docker Swarm. While these systems seek to minimize users' operational burden, the complex, dynamic, and non-deterministic nature of these systems makes them hard to reason about, potentially leading to failures ranging from performance degradation to outages. We present Kivi, the first system for verifying controllers and their configurations in cluster management systems. Kivi focuses on the popular system Kubernetes, and models its controllers and events into processes whereby their interleavings are exhaustively checked via model checking. Central to handling autoscaling and large-scale deployments is our design that seeks to find violations in a smaller and reduced topology. We also develop several model optimizations in Kivi to scale to large clusters. We show that Kivi is effective and accurate in finding issues in realistic and complex scenarios and showcase two new issues in Kubernetes controller source code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。