<p>Is there any way to log this action / event?</p>

<p>It seems that if a process is using too much resources and is not the main process, it gets a SIGKILL signal. I'd like to log this action.</p>

<p>You can use posthook to a run scripts when container is getting terminated.</p>

<p>Use that script to send notification or to log info to STDOUT.</p>

<p>Later when pod get killed, We can still get the older logs by using -p flag in kubectl logs.</p>
