~/talk

How the OOM-Killer Deleted My Namespace, and Other Kubernetes Tales

slides:none on file

Datadog runs dozens of clusters (some ~4,000 nodes) and shares three root-cause stories: a refactored Helm chart moved the Namespace out of the release so helm upgrade removes resources and a metrics-server APIService discovery failure (caused by a certificate reload/feature-gate mismatch) leaves the namespace controller unable to delete contents for four days; a CNI ptp delete hangs due to a netlink syscall bug triggered by a kernel jump (Ubuntu moved from 4.15 to 5.4) so netlink bug on kernel 4.20 blocks kubelet and container runtime checks; and a newly deployed node-group controller issued massive parallel lists that hit etcd because lists bypass cache (resourceVersion unset), accumulating ~2 days of query time and overloading kube-apiserver.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Datadog
  3. 1:55Symptoms
  4. 2:14Investigation
  5. 2:51Deletion call, 4d before Audit logs for the namespace
  6. 3:45Spinnaker deploys (v1)
  7. 4:17Helm 3 deploys (v2)
  8. 4:33Big difference
  9. 5:12What happened?
  10. 6:47Namespace Controller logs Virtual
  11. 8:10Events so far
  12. 8:59Metrics-server setup
  13. 9:41Metrics-server deployment
  14. 10:27Full chain of events
  15. 10:55Key take-away Apiservice extensions are great but can impact your cluster
  16. 12:00Context
  17. 12:49Runtime is down?
  18. 14:10CNI status
  19. 14:49Containerd goroutine dump Blocked goroutines?
  20. 15:27Seems CNI related
  21. 15:58What about Delete?
  22. 16:23CNI plugin
  23. 17:05The root cause
  24. 19:19What we know
  25. 19:38Apiserver requests
  26. 22:13Illustration
  27. 23:01What about label filters?
  28. 24:01Informers instead of List How do informers work?
  29. 26:14Back to the incident
  30. 27:25Nodegroup controller?
  31. 28:12How did it work?
  32. 29:07What we learned
  33. 29:46Conclusion
~/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.