Skip to main content
All of the catalog
Scenario

Autoscaling Under Load

Watch KEDA scale go-api on Prometheus RPS: a spike drives it from 1 to several replicas, then cooldown brings it back. The flagship 'autoscaling actually works' demo, verified under traffic from the load generator.

ScalabilityVerifiedk3dkind
Definition on GitHub

What you'll do

  • Declare metric-driven autoscaling for go-api with a KEDA ScaledObject
  • Drive a traffic spike and watch replicas scale up on Prometheus RPS
  • Confirm the tail did not pull away from the typical request while scaled, then watch it scale back on cooldown

Stages

  1. 1instruments

    Install the replicas-vs-RPS dashboard the drill is read from

    no-autoscaler-yetautoscaling-dashboard

Prerequisites

--deploy-prereqs installs these into the lab for you. They are listed so you know what the scenario depends on.

ingressmonitoring/metricsmonitoring/grafanaautoscaling/kedago-api

Related scenarios

Get updates

New scenarios and faults, release notes, and news about hosted labs if and when there is some. A few emails a month at most.

We'll email you about new releases, new lab content and paid offerings such as hosted labs, courses and workshops. Unsubscribe any time.