I'm running dramatiq (an async job executor) in kubernetes. For some reason this process keeps getting killed a few seconds after starting. I'm fairly new to Kubernetes and can't figure out on how to access system logs or logs other than the logs the pod itself outputs.
The only info I'm able to retrieve is the following: [MainThread] [dramatiq.MainProcess] [CRITICAL] Worker with PID 43 exited unexpectedly (code -9). Shutting down...
I'm at a bit of a loss here. Memory uses age and memory config do not appear to be the issue as the pod seems to crash far before the limit is reached. Does anyone have any suggestions on how to maybe get more info regarding the reason of the SIGKILL? I can't seem to reproduce the issue locally.