~/talk

Keynote: How Spotify Accidentally Deleted All its Kube Clusters with No User Impact

Talkat KubeCon + CloudNativeCon Europe 2019 · on Wednesday, 2019-05-22· at 09:05· Hall 6· [kubernetes]
name:David Xia
links:none on file
slides:none on file

During a GKE migration Spotify deleted two production clusters by mistake, once via the web console and once when Terraform’s global state file no longer listed the Asia cluster causing Terraform to destroy it. Restore takes include three hours and 15 minutes for the first recovery and an overnight rebuild later, later cut to under an hour after fixes. Root causes are human tab selection, Terraform state file mismatch, missing permissions and resumable scripts; mitigations are backups and disaster recovery tests, declarative cluster code, linters, dry-run outputs, and gradual partial migrations.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Context on Spotify's Compute Environment
  3. 4:15Cluster Restoration
  4. 4:54A Month Later
  5. 7:48Can't Get Any Worse, Right?
  6. 9:50Developer Impact
  7. 10:53What We Did Right
  8. 11:53How Did We Plan for Failure?
  9. 12:52Partial K8s Migration on Per-Service Level
  10. 14:37Best Practices
  11. 15:28Codified Our Infrastructure
  12. 16:42Performed Disaster Recovery Tests
  13. 17:31Practice Makes Perfect
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.