Uploaded November 2026 | Updated December 2026, 5 hours ago
Connect with the cloud native community and explore CNCF events: kubecon.io
Why Quotas Are Hard in Kubernetes: Lessons from Building a Production-Grade Quota System - Deepak Kinni & Xing Yang, VMware by Broadcom
Resource quota is a veteran Kubernetes feature, widely used yet poorly understood. Simple in theory—track, limit, reject—it navigates the messy trade-offs of consistency, availability, and performance inherent to distributed systems. This talk dissects the lifecycle of a ResourceQuota, from validating admission to the reconciliation controller. We examine design choices like per-namespace batching, optimistic updates, and the lookaside cache used to dodge etcd conflicts. We also explore "default-deny" semantics and documented race conditions that reveal why distributed quota is hard. Then, we pivot to how we built a custom system for complex limits that upstream doesn't natively support. We cover the pitfalls facing anyone building quota at scale: negative reservations, hierarchical lock ordering, and two-phase semantics. Finally, learn how drift correction avoids clobbering in-flight writes. Leave with a robust mental framework to evaluate every quota system against the CAP triangle.
Connect with the cloud native community and explore CNCF events: kubecon.io
Why Quotas Are Hard in Kubernetes: Lessons from Building a Production-Grade Quota System - Deepak Kinni & Xing Yang, VMware by Broadcom
Resource quota is a veteran Kubernetes feature, widely used yet poorly understood. Simple in theory—track, limit, reject—it navigates the messy trade-offs of consistency, availability, and performance inherent to distributed systems. This talk dissects the lifecycle of a ResourceQuota, from validating admission to the reconciliation controller. We examine design choices like per-namespace batching, optimistic updates, and the lookaside cache used to dodge etcd conflicts. We also explore "default-deny" semantics and documented race conditions that reveal why distributed quota is hard. Then, we pivot to how we built a custom system for complex limits that upstream doesn't natively support. We cover the pitfalls facing anyone building quota at scale: negative reservations, hierarchical lock ordering, and two-phase semantics. Finally, learn how drift correction avoids clobbering in-flight writes. Leave with a robust mental framework to evaluate every quota system against the CAP triangle.





