Add preStop hook and terminationGracePeriodSeconds

FixKlusterServices
Shipped
April 24, 2026 at 8:06 AM UTC
Author
Kamo
Commit
b2726f6

Containers were getting stuck in Terminating because background Asterisk processes kept running after apache2ctl (PID 1) exited. preStop hook sends SIGTERM to Asterisk before Kubernetes kills the container, allowing clean port release and preventing the next pod from hitting port-in-use errors on restart.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing