Lesson 4.2

Autoscaling workloads

Horizontal autoscaling adds pods when a metric crosses a threshold. It only works if requests are set and your app starts quickly.

Duration
28m
Level
Advanced
Students
4.2k students

Overview

Horizontal autoscaling adds pods when a metric crosses a threshold. It only works if requests are set and your app starts quickly.

In this lesson you will:

  • Scale pods on CPU or custom metrics
  • Tune thresholds to avoid flapping
  • Combine pod autoscaling with cluster autoscaling

Resources

Kubernetes documentation

The official reference for the tools used in this lesson.