Lune

USENIX ATC2024Top-tier venue

Kivi: Verification for Cluster Management

Bingzhe Liu, Gangmuk Lim, Ryan Beckett, Philip Brighten Godfrey

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Anvil: Verifying Liveness of Cluster Management Controllers cites Twine: A Unified Cluster Management System for Shared Infrastructure
  • Anvil: Verifying Liveness of Cluster Management Controllers cites Storage Systems are Distributed Systems (So Verify Them That Way!)
  • An Empirical Study on Kubernetes Operator Bugs cites Anvil: Verifying Liveness of Cluster Management Controllers
  • An Empirical Study on Kubernetes Operator Bugs cites Twine: A Unified Cluster Management System for Shared Infrastructure
  • Breaking the Bulkhead: Demystifying Cross-Namespace Reference Vulnerabilities in Kubernetes Operators cites Anvil: Verifying Liveness of Cluster Management Controllers
  • Breaking the Bulkhead: Demystifying Cross-Namespace Reference Vulnerabilities in Kubernetes Operators cites An Empirical Study on Kubernetes Operator Bugs
  • Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3 cites Storage Systems are Distributed Systems (So Verify Them That Way!)
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 citations
  2. Breaking the Bulkhead: Demystifying Cross-Namespace Reference Vulnerabilities in Kubernetes OperatorsAndong Chen, Ziyi Guo, Zhaoxuan Jin, Zhenyuan Li et al.NDSS 2026 · 2 citations

Builds on16

  1. Twine: A Unified Cluster Management System for Shared InfrastructureChunqiang Tang, Kenny Yu, Kaushik Veeraraghavan, Jonathan Kaldor et al.OSDI 2020 · 107 citations
  2. Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3James Bornholt, Rajeev Joshi, Vytautas Astrauskas, Brendan Cully et al.SOSP 2021 · 63 citations
  3. Testing Configuration Changes in Context to Prevent Production FailuresXudong Sun, Runxiang Cheng, Jianyan Chen, Elaine Ang et al.OSDI 2020 · 61 citations
  4. Storage Systems are Distributed Systems (So Verify Them That Way!)Travis Hance, Andrea Lattuada, Chris Hawblitzel, Jon Howell et al.OSDI 2020 · 52 citations
  5. Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma et al.OSDI 2024 · 50 citations

Related papers

  1. Welder: Compositional Liveness Verification of Cluster Control PlanesZhizhen Cathy Cai, Nikhil Date, Jiawei Tyler Gu, Cody Rivera et al.SOSP 2026
  2. Automatic Reliability Testing For Cluster Management ControllersXudong Sun, Wenqing Luo, Jiawei Tyler Gu, Aishwarya Ganesan et al.OSDI 2022 · 44 citations
  3. Garen: Reliable Cluster Management with Atomic State ReconciliationMingi Kim, Ahnjae Shin, Jaewoo Maeng, Myeongjae Jeon et al.EuroSys 2026 · 1 citation
  4. Testing Custom Control Planes Without the ClusterTim Goodwin, Lindsey Kuper, Andi QuinnSOSP 2026
  5. Building Scalable and Flexible Cluster Managers Using Declarative ProgrammingLalith Suresh, João Loff, Faria Kalim, Sangeetha Abdu Jyothi et al.OSDI 2020 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines