modified: README.md

This commit is contained in:
Márcio Fernandes
2026-07-15 13:50:42 +00:00
parent 3433a2f7f2
commit e8fe8c449c
+11 -1
View File
@@ -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.