Yolean/kubernetes-kafka

Increase mem limit on prometheus sidecar

Jacobh2 opened this issue · 1 comments

I'm using 50-kafka-jmx-exporter-patch.yml on branch kafka-2.0.x, where the mem limit is set to 120Mi.

After patching and deleting the old kafka pod, I noticed that it got OOM Killed. Increasing to 200Mi to check if that solved the issue started the pod completely and my metrics shows that at some point during startup, the metrics container is using at least 127Mb, suggesting that a limit of 120Mi is not enough.

image

Let's give Java 11 a chance, and reopen the issue if we see the same level of memory use after #197.