Testing Custom Control Planes Without the Cluster

Authors:
Tim Goodwin, Lindsey Kuper, Andi Quinn
Published:
In SOSP '26: ACM SIGOPS 32nd Symposium on Operating Systems Principles. September 28, 2026.
Abstract:

Modern cloud infrastructure is increasingly managed by software. On platforms like Kubernetes, the control plane maintains desired system state through controllers: software components that continuously monitor cluster resources and reconcile them toward a declared specification. This pattern has proven effective, and a thriving ecosystem of projects now compose controllers into custom control planes (CCPs) to automate tasks such as managing application delivery, scaling infrastructure dynamically, and composing cloud provider APIs into higher-level abstractions. The correctness of a CCP, however, depends on how its constituent controllers interact at run time. Bugs arise from implicit assumptions about these interactions that do not hold under all possible executions. As such, finding them requires enumerating the space of possible executions and searching it systematically, which is infeasible in a live cluster environment. In this paper, we present Kamera, a system for testing CCPs that uses partial simulation to execute the code of multiple interacting controllers against a lightweight model of the Kubernetes runtime. Thus far, Kamera has found 31 new bugs in five popular CCP projects and achieves a 1,781× speedup over existing cluster-based controller testing approaches.

BibTeX:
@inproceedings{goodwin2026,
  title = {{Testing Custom Control Planes Without the Cluster}},
  author = {Tim Goodwin and Lindsey Kuper and Andi Quinn},
  booktitle = {SOSP '26: ACM SIGOPS 32nd Symposium on Operating Systems Principles},
  year = 2026,
  doi = {10.1145/3830418.3843898},
}