grafclouds.com / documents / training / devops-challenges / autoscaling-spike-outage

A Traffic Spike Caused an Outage. Autoscaling Did Not Save You.

Intermediate ~13 min read
KubernetesObservability

Scenario

Marketing ran a campaign, traffic multiplied within a minute or two, and the service fell over — despite a horizontal pod autoscaler that everyone assumed was the safety net. The post-incident picture: the HPA was set to scale on CPU at around 70% utilization, a new pod took close to a minute to become ready (image pull, startup, warm-up), and the cluster itself was running close to its node capacity, so some new pods had nowhere to schedule until the cluster autoscaler added machines — a process measured in minutes, not seconds. By the time capacity arrived, the existing pods had already saturated, latency exploded, and clients were retrying, making everything worse.

The Quick Fix on the Table

In the retro, a colleague proposes raising maxReplicas way up. If the autoscaler was allowed to go higher, the reasoning goes, it would have scaled out of trouble. It is a one-line YAML change and it closes the action item.

Interview · Round 1

The quick fix is on the table and the room is waiting for your call. Would you sign off on it? Take a position and justify it — out loud or on paper — before revealing the analysis.