From e8fe8c449c7fe61f6704c5cf17015dfc816afc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Wed, 15 Jul 2026 13:50:42 +0000 Subject: [PATCH] modified: README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 908e1f0..435355b 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ kubectl delete pod -n appNamespace -l app=myAppName ### OOMKilled -**list all OOMKilled pods:** +**list all OOMKilled:** ``` bash kubectl get events --all-namespaces | grep -i "OOMKilled" @@ -236,6 +236,16 @@ kubectl get pods --all-namespaces \ | grep OOMKilled ``` +On cluster node + +```bash +sudo dmesg -T | grep -i kill +sudo dmesg -T | grep -Ei "oom|kill" +sudo journalctl -k | grep -Ei "oom|kill" +sudo journalctl -k --since "1 hour ago" | grep -Ei "oom|kill" +sudo journalctl -k -o short-iso | grep -Ei "oom|kill" +``` + ### Attach to an pod Attach connects your terminal to the main process of the container (PID 1), or another running process if specified.