Add preStop hook and terminationGracePeriodSeconds

FixKlusterServices
ส่งแล้ว
24 เมษายน 2569 เวลา 08:06 UTC
ผู้เขียน
Kamo
ตั้งค่า
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.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์