multiple app nodes how to expose jmx in kubernetes?

In kubernetes I can expose services with service. This is fine. Lets say I have 1 web instance and 10 java server instances. I have a windows gateway I'm used to access those 10 java servers insta...