
Spotify September 29 Outage Traced to Deployment Platform Conflict
A September 29 outage disrupted Spotify access after conflicting deployment platform changes affected the main authentication system, with most regions recovering by 16:30 UTC and full recovery by 19:34 UTC.
Spotify's deployment system deploys Kubernetes Deployments and Argo Rollouts via ArgoCD to one test environment and several production environments. Two independently tested changes conflicted when combined: one changed test environment configuration, and the other changed how differences between current and desired states are computed for deployment. The conflict caused the system to set the minReplicas field to the minimum number of replicas on every sync, instead of leaving autoscaler-managed replica counts untouched.
The issue only affected services that use Argo Rollouts and also have a testing environment. One affected service was critical to keeping people logged in; without it, Spotify apps could not load content or play music. Token reissuing after downtime increased load and overwhelmed remaining instances, while an erroneous reconciliation loop lowered instance counts. The first manual scale-up did not sufficiently account for the increase; at the start of recovery, the login system handled 200 times more traffic than before the incident.
Recovery timeline
Errors began increasing at 13:45 UTC, and the central incident management coordination team was paged at 13:56 UTC. The login system 'panic mode alert' paged the owning team at 13:57 UTC, and responders identified the specific login service at 14:04 UTC. Infrastructure teams prepared additional Kubernetes cluster capacity at 14:50 UTC.
From 14:50 to 16:30 UTC, troubleshooting versions for affected services and scaling attempts continuously failed. Login started recovering at 16:30 UTC as returning traffic pressured other backend services, and regions began recovering around that time. At 17:25 UTC, login was set to three times normal CPU and memory resources to prevent a thundering herd. At 17:44 UTC, responders fixed failing downstream services. Some services still showed peaks at 18:32 UTC but self-corrected over time. A suspected bug responsible for incorrect downscaling was identified at 19:31 UTC, and the incident was declared all clear at 19:34 UTC.
Most regions recovered by 16:30 UTC. In one European region, returning apps overwhelmed services behind authentication, so full recovery took until 19:34 UTC.
Contributing factors and planned changes
Spotify cited several contributing factors: a deployment configuration mismatch let Argo CD repeatedly overwrite autoscaler-managed replica counts; the login service minimum replica count was too low to protect against downscaling; automation reapplied faulty configuration and slowed manual recovery; symptoms were ambiguous; returning traffic created a thundering herd; and overloaded services underreported request traffic when it was dropped early as part of loadshedding.
Planned changes include preventing deployment automation from overwriting autoscaler-managed replica counts and evaluating stronger safeguards against accidental downscaling; simplifying emergency controls for manual overrides, pausing deployment automation, and scaling services; improving guidance and tooling for gradually restoring traffic and scaling services with dependencies; and improving workload behavior during overload, loadshedding, and reliable usage metrics.
Sources: engineering.atspotify.com
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.