~/talk

Cluster autoscaling in Kubernetes

Talkat Conf42 Cloud Native 2023 · on Thursday, 2023-03-30· [kubernetes]
slides:none on file

Shows a concrete pattern: create a large placeholder pod with a low priority so it is evicted when real pods need space, keeping the cluster autoscaler always having a node request in flight. Uses Kubernetes HPA, the official Cluster Autoscaler, an instance calculator, a scheduler simulator and a Black Friday game. Reports timing: HPA ~90s, cloud request ~30s, boot ~3–4 minutes and join ~30s versus the placeholder path of 3 minutes → 7 seconds. Notes cost tradeoffs and uses priority -1 for eviction.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Autoscaling promises vs realities
  3. 2:19Scheduler assigns pods to nodes
  4. 3:41Requests and limits for scaling
  5. 5:28Node resource reservations
  6. 7:17Delays in autoscaling timing
  7. 8:21Black Friday autoscaling game
  8. 11:58Reducing autoscaling delays
  9. 12:19Optimizing node sizing
  10. 14:06Pre-warming nodes with placeholders
  11. 18:05Demo: placeholder pod scaling
  12. 21:58Real autoscaling behavior
  13. 23:24Overprovisioning with placeholders
  14. 24:08Reactive vs proactive autoscaling
  15. 27:14Cost-effective alternatives
  16. 28:17Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.