A deployment-system conflict took down Spotify's authentication path on September 29, blocking app content and playback across the platform. Most regions recovered by 16:30 UTC; one European region lagged until 19:34 UTC after returning traffic overwhelmed the services behind login.

Deployment pipeline conflict

Spotify deploys two workload types through ArgoCD — regular Kubernetes Deployments and Argo Rollouts. They are similar, but their schemas differ slightly, and the same pipelines serve one test environment and several production environments. Two changes to that system were each tested on their own but conflicted in combination: one altered test-environment configuration (fewer instances, some automated health checks omitted), the other changed how the deployment system computes the diff between current and desired state.

Because one rollout also switched a service's workload type from Deployment to Argo Rollout while the second change altered which parameters the diff excludes, the minReplicas field slipped into the automated diff. The replicas count is supposed to be left to the Kubernetes autoscaler. Instead, the deployment system reset it to the minimum number of replicas on every sync. Only services running Argo Rollouts with a test environment were affected — one of which was critical to keeping users logged in.

How the outage cascaded

Re-issuing tokens after downtime sharply raises load, even with client backoff. That surge overwhelmed the remaining instances, and an erroneous reconciliation loop kept lowering the instance count, so the system failed repeatedly instead of scaling up and recovering on its own. The first manual scale-up underestimated the backlog: at the start of recovery, login handled 200 times its pre-incident traffic.

Feature Image

Contributing factors

  • Deployment configuration mismatch: a rule derived from testing reached production despite differing workload types, letting Argo CD repeatedly overwrite autoscaler-managed replica counts.
  • Insufficient capacity safeguards: the login service's minimum replica count was too low to protect against downscaling.
  • Automation at the wrong moment: the automation reapplied the faulty configuration and slowed manual recovery; pausing it during an incident is now simpler for responders.
  • Ambiguous symptoms: crashes causing capacity loss could not easily be told apart from capacity loss causing crashes, and a concurrent large deployment added competing hypotheses.
  • Recovery overloaded other services: services had scaled down during the outage, so returning traffic formed a thundering herd that required more aggressive scaling than first anticipated.
  • Observability and operational friction: overloaded services underreport request traffic that is dropped early as part of loadshedding.

Timeline (UTC)

  • 13:45 — error rate starts climbing.
  • 13:56 — central incident management coordination team paged.
  • 13:57 — the login system's "panic mode alert" pages the owning team.
  • 14:04 — responders identify the specific login service affected.
  • 14:50 — infrastructure teams prepare additional Kubernetes cluster capacity.
  • 14:50–16:30 — troubleshooting on service versions; continuous scale-up attempts fail.
  • 16:30 — login begins recovering and returning traffic pressures other backend services; deployments stay frozen, then most regions are back and deployments are reactivated.
  • 17:25 — login set to 3x normal CPU/memory resources to fend off the thundering herd.
  • 17:44 — downstream services failing as the problem trickles down; some prove hard to scale.
  • 18:32 — some services still show peaks but self-correct over time.
  • 19:31 — suspected bug behind the incorrect downscaling identified.
  • 19:34 — incident declared all-clear.
Upstream 5xx rate per cluster
5xx response codes for our authentication system at the perimeter during the incident, per region (includes fast failed requests, can be considered as total request rate towards the service for the portion of the incident it was crash looping).

Remediation priorities

  • Stop deployment automation from overwriting autoscaler-managed replica counts, and evaluate stronger safeguards against accidental downscaling.
  • Simplify emergency controls for manual overrides, pausing deployment automation and scaling services.
  • Improve guidance and tooling for gradually restoring thundering-herd traffic and scaling services together with their dependencies.
  • Improve workload behavior under overload — better loadshedding and reliable usage metrics.