Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/transferwise/oomie
Maps system OOM messages to Kubernetes pods, emitting k8s events.
https://github.com/transferwise/oomie
golang kubernetes oom
Last synced: 2 months ago
JSON representation
Maps system OOM messages to Kubernetes pods, emitting k8s events.
- Host: GitHub
- URL: https://github.com/transferwise/oomie
- Owner: transferwise
- License: apache-2.0
- Created: 2021-02-21T19:16:47.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T16:02:34.000Z (over 1 year ago)
- Last Synced: 2024-06-19T06:48:12.879Z (7 months ago)
- Topics: golang, kubernetes, oom
- Language: Go
- Homepage:
- Size: 172 KB
- Stars: 8
- Watchers: 6
- Forks: 6
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# OOMIE
Maps `/dev/kmsg` OOM messages to running Kubernetes pods. This is useful when the primary container forks multiple child processes, as well as mapping OOM's from init or sidecar containers.
## Installation
First compile and build the docker images
```
$ make all
```Apply kubernetes manifests
```
$ kubectl apply -f example.yaml
``````
$ kubectl get events -n demo-app
LAST SEEN TYPE REASON OBJECT MESSAGE
30s Warning OOM pod/demo-app-d944568f6-vnhk5 System OOM encountered, victim process: nginx, pid: 1270360, uid: 65534
```