The prometheus-k8s pods in CrashLoopBackOff with OOMKilled Error.
Issue
-
The prometheus container in the prometheus-k8s pod is having multiple restarts.
-
The prometheus-k8s pod is in CrashLoopBackOff with following error:
$ oc describe pod prometheus-k8s-0
...
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: OOMKilled
Message: ed" segment=436 maxSegment=4097
...
level=info ts=2020-08-03T08:26:47.927Z caller=head.go:632 component=tsdb msg="WAL segment loaded" segment=437 maxSegment=4097
level=info ts=2020-08-03T08:26:47.927Z caller=head.go:632 component=tsdb msg="WAL segment loaded" segment=438 maxSegment=4097
level=info ts=2020-08-03T08:26:47.927Z caller=head.go:632 component=tsdb msg="WAL segment loaded" segment=439 maxSegment=4097
...
Exit Code: 137
Environment
- Red Hat OpenShift Container Platform
- 4.4
- 4.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.