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

Automatically naming the Jolokia port "jolokia" #159

Open
ctron opened this issue May 17, 2018 · 1 comment
Open

Automatically naming the Jolokia port "jolokia" #159

ctron opened this issue May 17, 2018 · 1 comment

Comments

@ctron
Copy link
Contributor

ctron commented May 17, 2018

If a sevice port in OpenShift is named "jolokia" a web link will automatically be added showing the JMX web console:

image

However when creating a new application by:

oc new-app fabric8/s2i-java~https://github.com/ctron/hono-example-bridge.git

Then the port will be present, but without a name. It would be awesome of fabric8/s2i could somehow trigger the name jolokia on that port.

@ctron
Copy link
Contributor Author

ctron commented May 17, 2018

If I read the documentation correctly this should work with the io.openshift.expose-services LABEL in the Dockerfile: https://docs.openshift.org/latest/creating_images/metadata.html

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

No branches or pull requests

1 participant