Monitoring

Prometheus pod crashes - OOMKilled

Symptoms

The Prometheus pod remains in crashing status. When you issue the following command to get pod details, the Prometheus container terminates with reason, OOMKilled.

kubectl describe po prometheus-monitoring-prometheus-0 -n kube-system

Causes

The problem is that Prometheus is experiencing a high workload. High volumes of metrics data require more memory than what is currently available on the Prometheus container.

Resolving the problem

The following options can resolve this problem.

Note: Deleting the /wal folder can lead to data loss.