buzz
buzz copied to clipboard
fix(chart): delay relay shutdown before termination
Summary
- add configurable Kubernetes lifecycle hooks to the relay container
- default the relay to a 5-second
preStopsleep 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/buzzhelm lint deploy/charts/buzzwith production-style external service valueshelm unittest deploy/charts/buzz(9 suites, 45 tests)- rendered manifest assertion: relay lifecycle is
preStop.exec.command: [sleep, "5"]andterminationGracePeriodSecondsremains 60
Generated with Builderlab Expert.