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.

Taught byAlina CostaDocker · Kubernetes · CI/CD · Application security
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.

What this lesson covers

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

This lesson sits in Operating a Cluster, part of DevOps with Docker and Kubernetes. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will:

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

Resources