~/talk

Making the Most Out of Kubernetes Audit Logs

links:none on file
slides:none on file

Datadog reports running clusters of 1000+ nodes and demos show the API server emitting about 900 calls per second on a 2,500‑node cluster. Audit logging is enabled with two API server flags and an audit policy file that controls stages (RequestReceived, ResponseComplete/Started) and levels (Metadata, Request, RequestResponse). Examples: kubelets cause heavy GETs of node/configmap/secret, 403s trace to orphaned nodes and a Traefik service account listing secrets, and 422s expose garbage‑collector failures caused by mutating webhooks.

AI-written summary · about

  1. 0:00Intro
  2. 2:19Control plane
  3. 3:42A few more GET examples
  4. 4:31Describe resource
  5. 8:04What happened?
  6. 8:57Why was it authorized?
  7. 9:46Another GET call
  8. 10:21Watches
  9. 11:08Create call
  10. 11:51Outline
  11. 14:07Gotchas
  12. 15:08Recommendations
  13. 17:05Top API users?
  14. 18:36Grouping by users is not helping
  15. 19:42Verbs on "node" for a kubelet
  16. 20:30Verbs on "configmaps"
  17. 20:54Group by resource name
  18. 21:53List latency by resource
  19. 22:53Compare cluster performances
  20. 23:27Takeaways
  21. 24:40Creating a simple deployment
  22. 24:56Sequence
  23. 27:43Node API calls
  24. 29:35Troubleshooting
  25. 30:31Status codes
  26. 33:08What is failing?
  27. 33:33What is happening?
  28. 34:53Conclusion
~/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.