Skip to content

Commit

Permalink
Evaluates JVM memory limit awareness
Browse files Browse the repository at this point in the history
Interesting input for #112, for use with broker and zk pods
in addition to KAFKA_HEAP_OPTS.
  • Loading branch information
solsson committed Jan 19, 2018
1 parent da113d2 commit eaf9ebd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jmx/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ spec:
image: solsson/kafka-prometheus-jmx-exporter@sha256:a23062396cd5af1acdf76512632c20ea6be76885dfc20cd9ff40fb23846557e8
command:
- java
- -Xmx64M
- -XX:MaxMetaspaceSize=32m
- -XX:+UnlockExperimentalVMOptions
- -XX:+UseCGroupMemoryLimitForHeap
- -XX:MaxRAMFraction=1
- -XshowSettings:vm
- -jar
- jmx_prometheus_httpserver.jar
- "5556"
Expand Down

0 comments on commit eaf9ebd

Please sign in to comment.