I am not sure this will work in all environments because there are various k8s environments and openwhisk options.
(lean option, different network settings...)
It's working well in my environment and I expect it to work in a general environment, but please test it in your environment and give some feedback.
Description
This PR is a subsequent PR of https://github.com/apache/openwhisk/pull/5045. It adds the option to enable JMX.
I am not sure this will work in all environments because there are various k8s environments and openwhisk options. (lean option, different network settings...)
It's working well in my environment and I expect it to work in a general environment, but please test it in your environment and give some feedback.