~/talk

How to Not Destroy Your Production Kubernetes Clusters

Talkat SREcon22 Asia/Pacific · 2022-12-07..12-09· [kubernetes]
name:Qian Ding
links:none on file
slides:none on file

A custom operator accidentally deletes ~20k Service objects because of a label length mismatch (63 vs 127) between cluster libs, and missing etcd snapshot forces a five‑hour manual restore; deletion also removes admission webhook objects so pods stop scheduling until webhooks are restored and a rate limiter is added. A legacy CMDB hits a 32‑bit integer overflow and its finalizers block pod lifecycle, requiring manual finalizer removal and breaking a dependency loop. A new mutating webhook rollout changes selector logic and triggers 7000 pods reconstructed in a canary.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Background
  3. 1:35Postmodern Database
  4. 2:02Automation
  5. 2:25User escalation
  6. 3:38Initial investigation
  7. 4:21Restoring service objects
  8. 4:49Collecting service definitions
  9. 5:17The impact of the incident
  10. 5:40The reason for the failure
  11. 6:23Fixing the webhooks
  12. 6:38Why the operator went rogue
  13. 7:09Kubernetes label selector package
  14. 7:49Test engineer accidentally created app load balancer
  15. 8:25What can we learn
  16. 9:33Paradoxical Finalizer
  17. 9:45Paging Storm
  18. 11:45Mitigation
  19. 12:01Kubernetes Platform
  20. 12:28Manual Operations
  21. 12:49Lessons Learned
  22. 13:59User Complaints
  23. 14:21Monitoring Dashboard
  24. 14:52Victim Cluster
  25. 15:22Security Context Change
  26. 17:06Learnings
  27. 18:44Recap
  28. 19:13Key takeaways
~/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.