-
Type:
Bug
-
Status: Verified (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 7.0.1.GA
-
Component/s: Deployment
-
Labels:
-
Target Release:
-
Steps to Reproduce:
-
Affects:Compatibility/Configuration
The production and sit templates allow configuring the Smart Router port and protocol. This will be set to the Business Central Monitoring deployment config:
|
Business Central Monitoring Deployment config |
- name: KIE_SERVER_ROUTER_SERVICE
|
value: "${APPLICATION_NAME}-smartrouter"
|
- name: KIE_SERVER_ROUTER_PORT
|
value: "${KIE_SERVER_ROUTER_PORT}"
|
- name: KIE_SERVER_ROUTER_PROTOCOL
|
value: "${KIE_SERVER_ROUTER_PROTOCOL}"
|
If a user chooses a different value, the configuration won't work as only the port 9000 and HTTP protocol are exposed in the Smart Router's DeploymentConfig. They can't be changed.
|
Smart Router Deployment Config |
ports:
|
- name: http
|
containerPort: 9000
|
protocol: TCP
|
Smart router is accessed by the service which is also configured to port 9000
|
Smart Router service |
- kind: Service
|
apiVersion: v1
|
spec:
|
ports:
|
- port: 9000
|
targetPort: 9000
|
selector:
|
deploymentConfig: "${APPLICATION_NAME}-smartrouter"
|