From f9162a646890b795dfe8db35baa376a27434eb72 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 28 Nov 2018 14:36:35 +0100 Subject: [PATCH] Resource limit awareness is default in Java 10+ which probably makes the discussion in #112 outdated. Instead we could discuss -XX:MaxRAMPercentage and related flags from http://bugs.java.com/view_bug.do?bug_id=JDK-8186248 --- prometheus/50-kafka-jmx-exporter-patch.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/prometheus/50-kafka-jmx-exporter-patch.yml b/prometheus/50-kafka-jmx-exporter-patch.yml index 572b3769..179cbb5e 100644 --- a/prometheus/50-kafka-jmx-exporter-patch.yml +++ b/prometheus/50-kafka-jmx-exporter-patch.yml @@ -17,10 +17,6 @@ spec: image: solsson/kafka-prometheus-jmx-exporter@sha256:d237a12cc0cde42b539bcb5efc0008ba5e6ca1351b7843ed52bd574d181c5efd command: - java - - -XX:+UnlockExperimentalVMOptions - - -XX:+UseCGroupMemoryLimitForHeap - - -XX:MaxRAMFraction=1 - - -XshowSettings:vm - -jar - jmx_prometheus_httpserver.jar - "5556"