~/talk

Crossing the Streams! Rollout Strategies to Keep Your Users Happy!

Talkat SpringOne 2020 · 2020-09-01..09-03· [kubernetes, frontend-architecture]
name:Bill Koch
links:none on file
speakerdeck:stevesloka
slides:none on file

Demonstration shows how to avoid user-visible downtime by combining Spring Boot 2.3 graceful shutdown with Kubernetes probes and a short pre-stop delay: a 20s pre-stop sleep plus the default 30s terminationGracePeriod gives the control plane time to remove pod IPs, while Spring stops new requests and lets in-flight threads finish. A JMeter load (20 threads) produces errors without these settings and no errors with them. For immutable images, a Contour shutdown manager for Envoy polls Prometheus to drain connections.

AI-written summary · about

  1. 0:00Introduction to rollout strategies
  2. 1:17Why downtime happens in Kubernetes
  3. 2:20Kubernetes deployment basics
  4. 3:44Pod termination risks
  5. 6:07Graceful shutdown process
  6. 8:55Spring Boot demo setup
  7. 10:42Out-of-the-box deployment issues
  8. 12:13Solving control plane lag
  9. 13:16Spring Boot graceful shutdown
  10. 16:31Testing with graceful shutdown
  11. 18:23Sidecar pattern for unmodifiable apps
  12. 19:26Contour shutdown manager
  13. 21:33Tuning termination grace periods
  14. 24:21Resources and Q&A
~/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.