Sign inSign up

smpio/kube-oom-watcher

By smpio

•Updated over 5 years ago

Translates OOMKilling events to pod name and namespace

Image
0

1.9K

smpio/kube-oom-watcher repository overview

⁠kube-oom-watcher

Watches Kubernetes API server for OOMKilling events and sends pod name and namespace message to Slack/Discord.

⁠Requirements

⁠How it works

  1. Get OOMKilling event
  2. Find matching process in ps-report database
  3. Extract pod uid from cgroup
  4. Find pod by uid
  5. Send pod info to Slack/Discord web hook

⁠Usage

  -db-url string
    	database URL
  -kubeconfig string
    	path to kubeconfig file
  -master string
    	kubernetes api server url
  -webhook-url string
    	webhook URL

Tag summary

Content type

Image

Digest

Size

8.6 MB

Last updated

over 5 years ago

docker pull smpio/kube-oom-watcher