4 ms·
Yeah, there were a bunch of reasons. Using SIGTERM is a problem because it conflicts with other behavior. For instance, if you use SIGTERM for this then you h
by paranoidrobot 2y ago
Yeah, there were a bunch of reasons.
Using SIGTERM is a problem because it conflicts with other behavior.
For instance, if you use SIGTERM for this then you have a potential for the app quitting during the preStop, which will be detected as a crash by Kube and so restart your app.
- chippiewill 2y ago> which will be detected as a crash by Kube and so restart your app. I don't think kubernetes restarts pods that have been marked for termination