Kube-state-metrics monitoring pod crash looping with OOMKilled on upgrade to BB 2.54.0
Observed an issue with kube-state-metrics pod in monitoring package crash looping during upgrade to BB 2.54.0. Increasing memory limit from 128Mi
to 256Mi
resolved the issue. Consider increasing default.
From kubectl describe of crash looping pod:
Containers:
kube-state-metrics:
...
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: OOMKilled
Exit Code: 137
Started: Mon, 02 Jun 2025 09:24:48 -0600
Finished: Mon, 02 Jun 2025 09:24:58 -0600
Ready: False
Restart Count: 4
Limits:
cpu: 100m
memory: 128Mi
Currently using these values overrides to resolve:
monitoring:
values:
kube-state-metrics:
resources:
limits:
memory: 256Mi