Unleashing the Power of Init Containers: Reducing Database Management Toil at Yelp
Talkat KubeCon + CloudNativeCon Europe 2025 · on Wednesday, 2025-04-02· at 16:15· Level 1 | Hall Entrance S10 | Room D·
summary
Yelp runs init containers to automate and speed Cassandra operations across 70+ clusters and >1,000 nodes, cutting scale-up duplicates by bootstrapping new nodes with CDC disabled during bootstrap so bootstrap streams don’t flood Kafka and scale faster. Upgrades from 3.11 to 4.1 succeed by starting the old version in an init container to preserve IP/version continuity, and SSTable upgrades run controlled per node to avoid disk pressure. Restores use Medusa restores in parallel from S3 and fully automate recovery; the approach works in production.
AI-written summary · about
chapters (9)
- 0:00Init containers at Yelp
- 2:53Yelp’s Cassandra at scale
- 7:37Kubernetes init containers
- 10:54Cassandra scaling with init containers
- 15:17Upgrading Cassandra clusters
- 21:21SSTable upgrades with init containers
- 23:06Recovering Cassandra clusters
- 25:38Best practices for init containers
- 27:27Q&A
related talks
33mRunning Istio and Kubernetes On-prem at Yahoo Scale
47mRunning Databases in Docker at Scale
32mCassandra at Yammer #bbuzz
43mLife of a startup...
30mYugabyteDB Elasticity and Resilience in Containers
35mAuto Operation of Hundreds of K8s Clusters in Yahoo!
36m101 Ways to “Break and Recover” Kubernetes Cluster
38mThe Container Operator's Manual
