Skip to content
/ oomie Public
forked from transferwise/oomie

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

License

Notifications You must be signed in to change notification settings

plotly/oomie

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 87.2%
  • Makefile 6.4%
  • Dockerfile 6.4%