Everything You Ever Wanted to Know About Resource Scheduling, But Were Afraid to Ask
summary
Explains why CPU and memory are handled as vectors not boxes, shows how requests versus limits create QoS bands, and gives concrete failure modes like stranded resources and a DNS outage when a node dies. Describes production techniques used in Borg including Borg autopilot (used by roughly two thirds of users) and the need for a vertical pod autoscaler, cites about 800 man-years left to implement desired features, and calls for a smarter rescheduler and priority/chargeback model.
AI-written summary · about
chapters (43)
- 0:00Introduction
- 1:15Warning
- 1:32What are resources
- 2:58What are nodes
- 3:40Mental model of resources
- 3:57Pack stuff into the box
- 4:18This is really weird
- 4:50Example
- 5:54The Problem
- 8:10Stranded Resources
- 9:10The Fun Part
- 9:23The Wrong Questions
- 9:39Multiple Replicas
- 9:51Saving Machines
- 10:10Partitioning Clusters
- 10:53Isolation
- 12:57Memory Leaks
- 13:30Memory Limits
- 15:05State of Resources
- 15:21Resource Taxonomy
- 16:47Resource Limits
- 17:55Quality of Service
- 18:57Running Out of CPU
- 20:45Coupled Resources
- 20:55Memory
- 22:53What happens if you dont specify
- 23:38How much resources you need
- 24:59No benchmarks are incredibly hard
- 25:22Horizontal scaling
- 26:05Calculus
- 26:35What can we do
- 28:37Resources cost money
- 29:02Show of hands
- 29:26How to do better
- 29:44People are inherently cautious
- 30:12We need priority
- 32:44Overcommit model
- 33:53Customer experience
- 34:14Everything went sideways
- 34:37The reality check
- 35:53Wrapping it up
- 36:18We have a long way to go
- 37:19Designing applications for Kubernetes
related talks
40mLimits, Requests, QoS... Rethinking What You Thought You Knew About Scheduling in Kubernetes
45mLimits, Requests, QoS, PriorityClasses: Demystifying Scheduling in K8s!
21mDemystifying Resource Management in Kubernetes
05mDoughnut Dilemma: A Lesson in Resource Managers
24mResource Requests and Limits Under the Hood: The Journey of a Pod Spec
34mPatterns for building Highly Available Cluster Schedulers
26mResource as You Wish: Collaborative Reservation and Allocation b...
34mKubernetes Scheduling Features or How Can I Make the System Do What I Want?
