~/talk

PID 1, SIG Handling, Hooks & Probes: Managing Container Lifecycle Correctly

links:none on file
slides:none on file

Explains that containers need a real init to reap zombies and forward signals, demonstrates tini installed as PID 1 preventing defunct processes, and shows the Kubernetes termination flow with the default 30s grace period. Covers concrete use of liveness/readiness probes with a Flask demo (readiness stops traffic, liveness triggers container restart), contrasts postStart/preStop hooks with initContainers, and gives startup probe guidance (use high failureThresholds like 10–15 for slow startups).

AI-written summary · about

  1. 0:00Intro
  2. 0:39About OLX Group
  3. 1:08Infrastructure Landscape
  4. 1:18Agenda
  5. 2:13Unix Processes
  6. 4:10Orphans
  7. 4:40Are Zombies Harmful?
  8. 4:59Zombies and Containers
  9. 5:57Init System To The Rescue
  10. 6:10Tini Init System
  11. 6:30Setting Up Tini
  12. 8:46More Details
  13. 9:46Pod Lifecycle Phases
  14. 10:25Container Lifecycle States
  15. 10:53Terminating Gracefully
  16. 12:06Termination Lifecycle
  17. 13:31Health Probe Pattern
  18. 13:47Self-Healing Containers
  19. 14:14Problems
  20. 15:13Technicalities of Probes
  21. 15:47Container Probes
  22. 16:54Readiness Probe
  23. 17:39Code Walkthrough
  24. 24:06Startup Probe
  25. 24:48Need for Lifecycle Hooks
  26. 25:14postStart Hook Behaviour
  27. 25:34preStop Hook
  28. 26:14Revisiting Termination
  29. 29:20Usage of Init Containers
  30. 29:59Scheduling and Resources
  31. 30:42Face-off
~/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.