Autoscale your Kubernetes Workload with Prometheus - Frederic Branczyk, CoreOS
summary
Explains how Kubernetes moves from Heapster to the resource, custom and external metrics APIs (available since Kubernetes 1.8, external API alpha), with a Prometheus custom metrics adapter that translates HPA queries into PromQL. Shows HPA using per-pod rates, scrape intervals (15s) and targets, with cool-downs and a live demo that scales a blog to about 2000 requests per second up to a 30-replica max. Notes Heapster deprecation, CRD scaling in 1.11, and ongoing OpenMetrics/observability work.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:27What's to learn today?
- 1:08Let's talk about autoscaling
- 3:34Horizontal Autoscaling
- 4:12Vertical autoscaling
- 8:18Problem with Heapster over time
- 11:50Resource & Custom Metrics APIs
- 13:02Resource Metrics API
- 16:44External Metrics API
- 17:37Quick Prometheus intro
- 21:00Monitoring pipeline overview
related talks
33mDeep Dive: Kubernetes Metric APIs using Prometheus
25mAutoscaling Kubernetes Workloads Based On Metrics
51mHorizontal Autoscaling with Kubernetes
34mScale your microservices by MicroProfile Metrics on Kubernetes
29mKubernetes Autoscaling: Beyond One Size Fits All
08mGetting Creative with HPA Scaling in Kubernetes
19mKeynote: Monitoring Kubernetes Clusters with Prometheus
37mMonitoring Kubernetes with Prometheus
