English

Kivi: Verification for Cluster Management

Distributed, Parallel, and Cluster Computing 2023-11-07 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2311.02800,
  title  = {Kivi: Verification for Cluster Management},
  author = {Bingzhe Liu and Gangmuk Lim and Ryan Beckett and P. Brighten Godfrey},
  journal= {arXiv preprint arXiv:2311.02800},
  year   = {2023}
}

Comments

18 pages

R2 v1 2026-06-28T13:12:13.765Z