title: Kubernetes: print log before being OOMKilled
body: <p>I noticed sometimes my containers are OOMKilled, but I'd like to print some logs before exiting. Is there a way that I can intercept the signal in my entrypoint script?</p>