kube-oom-watcher

command module
v0.0.0-...-3f46abb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2021 License: MIT Imports: 20 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL