Horizontal Pod Autoscaler Reloaded - Scale on Custom Metrics
summary
HPA v2 adds custom metrics so Kubernetes can scale on per-pod, object, or external signals rather than only CPU; demo uses Prometheus adapter and the Metrics Server, shows HPA polling every 50s and computing replicas by total utilization ÷ target, and scales a demo service from 3 to 6 replicas when HTTP QPS exceeds a 1 request/second target. External metrics (Stackdriver) and object metrics with label selectors are supported in 1.10 and work as shown.
AI-written summary · about
chapters (13)
- 0:00Introduction to scaling
- 1:00Scaling approaches
- 2:13Kubernetes auto-scaling
- 3:28HPA v1 vs v2 features
- 6:06Basic HPA demo
- 7:35How HPA works
- 9:15Custom metrics with pods
- 10:37Troubleshooting HPA
- 13:03The Prometheus adapter
- 16:00Object metrics scaling
- 18:55External metrics
- 21:00Future plans and closing
- 22:13Q&A session
related talks
51mHorizontal Autoscaling with Kubernetes
29mKubernetes Autoscaling: Beyond One Size Fits All
35mIntro: SIG Autoscaling
08mGetting Creative with HPA Scaling in Kubernetes
24mSIG-Autoscaling: Introduction + HPA/VPA Updates
25mAutoscaling Kubernetes Workloads Based On Metrics
34mScale your microservices by MicroProfile Metrics on Kubernetes
35mAutoscaling Kubernetes Deployments: A (Mostly) Practical Guide
