~/talk

Wait! Can Your Pod Survive a Restart?

name:Aya Ozawa
links:none on file
slides:none on file

Shows two live demos: an HTTP server and an Operator with leader election and proves how to get zero- or low-downtime restarts. Explains using Dockerfile STOP_SIGNAL or a preStop hook to send the right signal, differences between readiness, liveness and startup probe, and that sidecars shut down sequentially in reverse start order within a shared grace period. Quantifies leader-election: defaults 15s lease + 2s retry (worst ~17s) and how releaseOnCancel drops takeover to ~3s. Covers PDB pitfalls, need for ≥2 replicas for safe eviction, and Kubernetes 1.27 unhealthyPodEvictionPolicy.

AI-written summary · about

  1. 0:00Pod restart challenges
  2. 1:07Why pod restarts matter
  3. 2:53Pod termination flow
  4. 4:40Handling stop signals
  5. 6:52Termination in multi-container pods
  6. 8:17Termination grace period limits
  7. 9:19HTTP traffic during restarts
  8. 11:06Readiness and startup probes
  9. 12:38Demo: traffic without downtime
  10. 15:08Traffic routing during restarts
  11. 17:16Single replica limitations
  12. 18:04Graceful controller restarts
  13. 20:14Leader election transitions
  14. 21:15Minimizing disruption with PDBs
  15. 23:21Unhealthy pod eviction
  16. 24:23Pod restart resilience
~/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.