-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
None
-
I was using old images... We'll try again once the new images are ready.
-
2020 Week 25-27 (from Jun 15)
The operator is injecting the environment property "HTTP_PORT" and quarkus applications expect to be "QUARKUS_HTTP_PORT". Using the latter, it works as expected. I think the issue must be around this line.
Example of Jobs Service CRD:
apiVersion: app.kiegroup.org/v1alpha1
kind: KogitoJobsService
metadata:
name: jobs-service
spec:
httpPort: 9081
image:
domain: quay.io
name: kogito-jobs-service
namespace: kiegroup
tag: '0.11'
infinispan:
credentials: {}
kafka: {}
replicas: 1
resources: {}
See logs:
2020-06-25 10:28:43,156 jobs-service-6c7dfc684b-5hhrb INFO [io.quarkus:-1] (main) jobs-service 0.11.0 (powered by Quarkus 1.4.1.Final) started in 1.636s. Listening on: http://0.0.0.0:8080
Which is wrong. Using QUARKUS_HTTP_PORT:
2020-06-25 10:29:42,539 jobs-service-6889647fbd-lbk2c INFO [io.quarkus:-1] (main) jobs-service 0.11.0 (powered by Quarkus 1.4.1.Final) started in 1.327s. Listening on: http://0.0.0.0:9081
- is caused by
-
KOGITO-1336 Improve the exposed HTTP port configuration for Kogito Runtime Services
- Resolved
- is incorporated by
-
KOGITO-2438 Cucumber Tests: Cover Port changes configuration for Kogito services
- Resolved