DevOps with Docker and Kubernetes
LESSON 4.2

Autoscaling workloads

Learn key techniques and workflows in DevOps with Docker and Kubernetes.

28m
advanced
4,176 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

Pro Tip

Use caching and revalidation wisely to ensure your app stays fast and data remains fresh without unnecessary requests.

Resources