kubernetes-oomkill-exporter

command module
v0.0.0-...-fd90453 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

kubernetes-oomkill-exporter

Contributions License


kubernetes-oomkill-exporter is parsing kernel log for killed pods, collects information like namespace from docker containerd and exposes them in a Prometheus metric. It can be deployed as a DaemonSet to run on every node in your cluster, see here for an example. Exported metric is called klog_pod_oomkill and counts the amount of oomkills of a certain pod.

A Prometheus query for alerting could look something like this:

sum by(namespace, pod_name) (changes(klog_pod_oomkill[30m])) > 2

Note: Recent versions of kubernetes-oomkill-exporter (>=0.5.0) are only working with nodes running containerd as container runtime. If you are using docker please use a version prior than that.

License

This project is licensed under the Apache2 License - see the LICENSE file for details

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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