Hacker News new | ask | show | jobs
by paulfurtado 1556 days ago
With kubernetes you can at least add a preStop hook that sleeps for 60-120sec if the app is not designed to handle SIGTERM. The pod enters the terminating state just prior to executing the preStop hook.