Skip to content

Metric kube_pod_container_status_terminated_reason don't detect all events #2153

Closed
@lombardialess

Description

@lombardialess

What happened:
The metric kube_pod_container_status_terminated_reason is still experiment but since a very long time.
This metric can be very useful for monitoring alerts but is not detecting all "Errors" or "OOMKilled" often the event is not collected.

What you expected to happen:
Trace of any event of termination

How to reproduce it (as minimally and precisely as possible):
I don't think is reproducible but for example OOMKilled is very often not detected in the metric

Anything else we need to know?:

Environment:

  • kube-state-metrics version: 2.9.2
  • Kubernetes version (use kubectl version): 1.25.6
  • Cloud provider or hardware configuration: Azure AKS
  • Other info:

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions