Pod receives API calls after SIGTERM #919
-
Hello,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Answering myself: I found this article clarifying the pod shutdown sequence and saying "The pod should largely ignore [SIGTERM], keep running, and keep serving new connections." - that somehow seems not to support "graceful" handling. Is there any best practice not involving preStop hooks? In my case, it's a NodeJS app, and there is full control over the application. |
Beta Was this translation helpful? Give feedback.
Answering myself: I found this article clarifying the pod shutdown sequence and saying "The pod should largely ignore [SIGTERM], keep running, and keep serving new connections." - that somehow seems not to support "graceful" handling. Is there any best practice not involving preStop hooks? In my case, it's a NodeJS app, and there is full control over the application.