forked from apache/incubator-kie-kogito-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kogito-jobs-service-overrides.yaml
60 lines (54 loc) · 2.44 KB
/
kogito-jobs-service-overrides.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
schema_version: 1
name: "quay.io/kiegroup/kogito-jobs-service"
description: "Runtime image for Kogito Jobs Service"
labels:
- name: "io.k8s.description"
value: "Runtime image for Kogito Jobs Service"
- name: "io.k8s.display-name"
value: "Kogito Jobs Service"
- name: "io.openshift.tags"
value: "kogito,jobs-service"
- name: "io.openshift.expose-services"
value: "8080:http"
envs:
- name: "SCRIPT_DEBUG"
example: "true"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed. Also debug JVM initialization."
- name: "ENABLE_PERSISTENCE"
example: "true"
description: "By default the Jobs services runs on memory only, if persistence is needed then set it to true. (Sets the property kogito.jobs-service.persistence to infinispan)."
- name: "INFINISPAN_CLIENT_SERVER_LIST"
example: "localhost:11222,localhost:11223"
description: "Required when persisted is enabled. (Sets the property quarkus.infinispan-client.server-list)."
- name: "MAX_INTERVAL_LIMIT_RETRY"
example: "60000"
description: "Maximum interval in milliseconds when retrying to execute jobs, in case of failures, defaults to 60000ms. (Sets the property kogito.jobs-service.maxIntervalLimitToRetryMillis)."
- name: "BACKOFF_RETRY"
example: "1000"
description: "Retry backoff time in milliseconds between the job execution attempts, in case of execution failure, defaults to 1000. (Sets the property kogito.jobs-service.backoffRetryMillis)."
- name: "ENABLE_EVENTS"
example: "true"
description: "By default Jobs Service doesn't integrate with message systems (e.g. Kafka). Set this variable to true to enable the events add-on."
- name: "KAFKA_BOOTSTRAP_SERVERS"
example: "localhost:9092"
description: "When enabling events for the Jobs Service, this variable also needs to be set to allow the service to connect to the given Kafka instance."
- name: "HTTP_PORT"
example: "9090"
description: "Defines which port the Job service Container Image will listen on."
ports:
- value: 8080
modules:
install:
- name: org.kie.kogito.image.dependencies
- name: org.kie.kogito.system.user
- name: org.kie.kogito.logging
- name: org.kie.kogito.openjdk
version: "11-headless"
- name: org.kie.kogito.launch.scripts
- name: org.kie.kogito.infinispan.properties
- name: org.kie.kogito.jobs.service
run:
workdir: "/home/kogito"
user: 1001
cmd:
- "/home/kogito/kogito-app-launch.sh"