-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Java 11 everywhere #19
Conversation
until Java 11 build is supported. This reverts commit a1cf20e.
-XX:+UnlockExperimentalVMOptions These jvm options causing kafka-prometheus-jmx-exporter not to start http server. Can someone fix this ? |
I think there was a Release note from Oracle somewhere saying that these flags have been deprecated. Or maybe it was in https://medium.com/adorsys/jvm-memory-settings-in-a-container-environment-64b0840e1d9e. |
@charlspjohn If you need the hash for the old :latest it's here: https://github.com/Yolean/kubernetes-kafka/blob/v4.3.0/prometheus/50-kafka-jmx-exporter-patch.yml#L17 |
Can it be removed from dockerfile so that the public latest image will run without error ? |
I don't see these flags in the Dockerfile. Or are you referring to some other Dockerfile? You can remove the flags from the statefulset resource (https://github.com/Yolean/kubernetes-kafka/blob/v4.3.1/prometheus/50-kafka-jmx-exporter-patch.yml#L20) which is already done in https://github.com/Yolean/kubernetes-kafka/blob/v5.0.3/prometheus/50-kafka-jmx-exporter-patch.yml. |
Got it thanks, I was using a local helm project and the options were there. |
My recommendation is to always use sha256-tagged image URLs. You never know what kind of crap a maintainer like me might put into the next build :) |
Java 10 came with support for docker memory limits by default, see https://blog.docker.com/2018/04/improved-docker-container-integration-with-java-10/, but wasn't LTS. Kafka 2.1.0 supports Java 11.