-
Bug
-
Resolution: Done
-
Minor
-
7.0.0.GA
-
None
When the rhba70-kieserver-openshift image is not provided a KIE_SERVER_ID, it uses the container host name. It successfully strips away the randomly generated sequence that OpenShift containers append, but leaves the deployment config version in place, resulting in a org.kie.server.id value such as myapp-kieserver-1.
When the deployment config is edited for any reason, the new kie id become myapp-kieserver-2 and the server is no longer part of the same server template. This does not appear to be intentional and considering that all pods are typically updated to have the "-2" suffix, it does not seem to be a good default behavior. Further control over server template inclusion can and should be driven by explicit use of KIE_SERVER_ID anyway.