buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(chart): delay relay shutdown before termination

Open bradseiler opened this issue 4 months ago • 0 comments

Summary

  • add configurable Kubernetes lifecycle hooks to the relay container
  • default the relay to a 5-second preStop sleep so endpoints stop routing traffic before SIGTERM
  • bump the Helm chart from 0.1.7 to 0.1.8 (0.1.7 was already published before this change)
  • cover the default lifecycle in Helm unit tests and the values schema

Related issue

None found. Originated in Buzz channel b17e217e-42cf-4e23-870a-e7891703b955, thread 095f59f58098fa98187d8c785e286df82d5ff71381cb0ce0ca6ef61c315d39a6.

Testing

  • helm dependency build deploy/charts/buzz
  • helm lint deploy/charts/buzz with production-style external service values
  • helm unittest deploy/charts/buzz (9 suites, 45 tests)
  • rendered manifest assertion: relay lifecycle is preStop.exec.command: [sleep, "5"] and terminationGracePeriodSeconds remains 60

Generated with Builderlab Expert.

bradseiler avatar Jul 31 '26 23:07 bradseiler