JMX different port forward from kubernetes pod JMX different port forward from kubernetes pod kubernetes kubernetes

JMX different port forward from kubernetes pod


This is an RMI issue. The problem is that the RMI stub delivered to the JMX client is created for 9010 and so it fails when attempting to connect at 9011. There's a couple of decent solutions outlined here. Another option is to switch to JMXMP which is a pure socket JMX protocol so port forwarding works without any additional workarounds.