~/talk

Building Container Images In Kubernetes: It’s Been a Journey!

Talkat KubeCon + CloudNativeCon North America 2022 · on Wednesday, 2022-10-26· at 15:25· 250 ABC· [kubernetes]
links:none on file
slides:none on file

Datadog migrates image builds into Kubernetes using buildkit in rootless mode, achieving native multi-arch builds and retiring Docker runners; over 90% of images build fine but ~10% expose tricky kernel and filesystem interactions. Issues include failing to set SELinux xattrs, leaked background processes because rootless disables process sandboxes, and overlayfs masking bugs caused by opaque tombstones fixed only after kernel 5.11’s user exact option; result: several hundred images built on-cluster and >1,000 builds/day reliably.

AI-written summary · about

  1. 0:00Start
  2. 1:43History: Building docker images
  3. 3:03History: Building ARM binaries
  4. 3:30History: Building multiarch images
  5. 4:19Limits of this system
  6. 5:52Can we use them?
  7. 8:49Overview
  8. 9:15Example
  9. 10:33A complex Dockerfile
  10. 13:22A more complex Dockerfile
  11. 14:46Let's debug!
  12. 15:47Basic Reproducer
  13. 17:39How does it work usually?
  14. 18:13proc in containers
  15. 19:38Conclusion
  16. 22:50We use Overlayfs. How does it work?
  17. 25:16What about step #3?
  18. 26:05Taking a step back
  19. 27:42Opaque directory implementation
  20. 28:57Mysteries
  21. 29:21Kernel function tracing
~/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.