Hello,

I am using minikube and trying to run application through docker image.
To enable JMX port in my application, I have used following properties in
my docker image through Dockerfile:

*"java.property.com.sun.management.jmxremote=true" *

* "java.property.com.sun.management.jmxremote.port=6666" *

*"java.property.com.sun.management.jmxremote.authenticate=false" *

*"java.property.com.sun.management.jmxremote.ssl=false" *

*"java.property.java.rmi.server.hostname=192.168.64.31" (minikube hostname)*

*"java.property.com.sun.management.jmxremote.rmi.port=6666"*

I am able to run my application and access port 8108.
But I am not able to access JMX port 6666 through jconsole.

Minikube details are as follows:

*minikube version: v0.23.0*

*minikube: Running*

*cluster: Running*

*kubectl: Correctly Configured: pointing to minikube-vm at 192.168.64.31*


PFA attached yaml files used to run application.



Please tell me how to fix this issue if possible?



Best Regards,

Shrikant Wakte

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Attachment: Deployment.yaml
Description: Binary data

Attachment: inferenceservice.yaml
Description: Binary data

Reply via email to