Don’t Lose Your Sleep Over It: Verifying Your Kubernetes Clusters with... Bingzhe Liu & Gangmuk Lim
Channel: CNCF [Cloud Native Computing Foundation]
Date: 2023-11-22

Don't miss out! Join us at our next Flagship Conference: KubeCon + CloudNativeCon Europe in Paris from March 19-22, 2024. Connect with our current graduated, incubating, and sandbox projects as the community gathers to further the education and advancement of cloud native computing. Learn more at https://kubecon.io

Don’t Lose Your Sleep Over It: Verifying Your Kubernetes Clusters with Kivi - Bingzhe Liu & Gangmuk Lim, University of Illinois Urbana-Champaign

Kubernetes controllers offer powerful ways to manage clusters, but they also can introduce risk of unintended behavior. Even a single controller contains a diverse range of configuration parameters that introduces the opportunities for mistakes, and moreover multiple controllers can interact badly with each other and with environmental events due to shared dependencies. For example, pods can fail to be created even though resources are enough, or can oscillate in an unending cycle of scheduling and eviction. This talk first presents a collection of pathological and unintended issues arising from controllers. Then it discusses Kivi, a prototype project that verifies correctness of Kubernetes clusters to help users detect issues before they apply changes. Kivi leverages model checking techniques that can either assure desired properties will be preserved, or generate minimal examples demonstrating violations. Kivi can also simulate the impact of operational changes.