KamoCRM

Add preStop hook and terminationGracePeriodSeconds

FixKlusterServices
Shipped
24 ஏப்ரல், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing