Skip to content
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

Jmx support #134

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Jmx support #134

wants to merge 4 commits into from

Conversation

pminz
Copy link
Contributor

@pminz pminz commented Aug 21, 2024

add JMX support natively on helm charts

@@ -21,5 +21,11 @@ spec:
{{- if and (eq (.Values.deploy.expose.type) "NodePort") (.Values.deploy.expose.nodePort) }}
nodePort: {{ .Values.deploy.expose.nodePort }}
{{- end}}
- port: 9999
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should only expose this port if jmx is enabled and I don't think we want to expose it via a nodeport as the port value from the template .Values.deploy.expose.nodePort will already be used by the "infinispan" port defined above.

I think the code should be more like:

   {{- if .Values.deploy.jmx.enabled }}
    - port: 9999
      protocol: TCP
      name: jmx
   {{- end}}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated . Thanks

@rigazilla
Copy link
Collaborator

with helm install I get this warn in the logs:

2024-09-03 15:59:52,631 WARN  (main) [org.infinispan.SERVER] ISPN080072: JMX remoting enabled without a default security realm. All connections will be rejected.

and I can't connect with jconsole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants