plotly / oomie

Maps system OOM messages to Kubernetes pods, emitting k8s events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Maps system OOM messages to Kubernetes pods, emitting k8s events.

License:Apache License 2.0


Languages

Language:Go 86.9%Language:Dockerfile 6.7%Language:Makefile 6.4%