opsgenie / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SystemOOM event does not include pod labels

timansky opened this issue · comments

Is it possible to get pod labels when SystemOOM event occurs?
Now it gets only node labels:

involvedObject_kind=Node
involvedObject_labels_beta_kubernetes_io_arch=amd64
involvedObject_labels_beta_kubernetes_io_os=linux
involvedObject_labels_kubernetes_io_arch=amd64
involvedObject_labels_kubernetes_io_hostname=__hostname__
involvedObject_labels_kubernetes_io_os=linux
involvedObject_labels_nodelabel=__value__
involvedObject_name=__hostname__
involvedObject_uid=__hostname__

It would be awesome to know which pod was oom killed

I noticed this as well but I don't think its possible because the event is coming from the Node. If you examine the actual kubernetes event, there is no information about the pod there as well.