Session
Death by a Thousand Patches: How Pod Status Updates Exhaust etcd and What to Do About It
etcd stores every object update as a full copy. Not a diff - the entire object, every time. A 15KB pod patched once per second generates 15KB/s of etcd writes that compaction can't keep up with. When the database hits its quota, the cluster goes read-only. No new pods. No scaling. No deletes. You can't even clean up because deletion is a write operation.
This isn't theoretical. It's a documented property of etcd's MVCC model that surfaces predictably at scale - usually at 2 AM when a misbehaving controller has been patching status fields for hours. We'll break a cluster live on stage (kind with a small quota), show exactly how the failure cascades, walk through the non-obvious recovery sequence, and then build the guardrails that prevent it: admission policies that cap annotation size, Prometheus alerts on revision growth rate, and architectural patterns that move high-churn metadata out of the critical path.
Hardeep Singh Tiwana
Golden Kubestronaut | Senior TAM, AWS | Creator, The Kubernetes Show
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top