When deploying a docker image, in the Services and Routing settings, when "Add route" is checked, if there are multiple ports exposed, then openshift will round-robin the route to any of the ports. So if you have 3 exposed ports, 1 of them is for the web app, then 2/3 of the http connections to the service will fail.
There should be a new column, in the ports table, with 1 checkbox checkable at the time: checking 1 box will uncheck the others.
The lowest port should be selected by default (that's what the oc client does apparently, but deserve confirmation)
- git clone https://github.com/redhat-helloworld-msa/aloha
- mvn package
- build docker image from Dockerfile, to CDK docker connection
- deploy docker image to openshift