STI Build via Openshift Consolealways selects port 7600 as service port
Issue
-
A Source to image build for a Git URI on the Openshift Console for the wildfly builder image always creates an openshift/kubernetes service which is using port 7600.
-
Wildfly has a range of ports, starting with tcp/7600. The Openshift Console chooses this as the port to define the openshift service.
But the standard Web Port for Wildfly is tcp/8080. -
So an automatically STI Build using the wildfly builder image will never work initially.
-
One has to modify the created service to use the port 8080 instead of 7600. So there is no way to tell the STI that it should use 8080 and not 7600 for creating the openshift/kubernetes service
-
Also just to focus on 8080 is surely not enough because other would like to have other ports, e.g. jmx or messaging exposed.
Environment
- Openshift 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.