Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```