forked from infinispan/infinispan-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server-openjdk.yaml
85 lines (85 loc) · 3.68 KB
/
server-openjdk.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: infinispan/server
version: 15.0.1.Final-1
description: Infinispan Server
from: registry.access.redhat.com/ubi9/openjdk-21-runtime
artifacts:
- name: server
url: https://downloads.jboss.org/infinispan/15.0.1.Final/infinispan-server-15.0.1.Final.zip
packages:
manager: microdnf
ports:
- value: 2157
- value: 7800
- value: 7900
- value: 11221
- value: 11222
- value: 11223
- value: 46655
- value: 57600
labels:
- name: name
value: Infinispan Server
- name: version
value: 15.0.1.Final
- name: release
value: 15.0.1.Final
- name: io.k8s.description
value: Provides a scalable in-memory distributed database designed for fast access to large volumes of data.
- name: io.k8s.display-name
value: Infinispan Server
- name: io.openshift.expose-services
value: 8080:http
- name: io.openshift.tags
value: datagrid,java,jboss,xpaas
- name: io.openshift.s2i.scripts-url
value: image:///usr/local/s2i
envs:
- name: ISPN_HOME
value: /opt/infinispan
- name: IDENTITIES_BATCH
description: The path to the cli batch file used to create user identities.
- name: USER
description: When provided with the PASS variable, this value is used to generate a credential identitiy in a yaml file which is used to set IDENTITIES_PATH
- name: PASS
description: When provided with the USER variable, this value is used to generate a credential identitiy in a yaml file which is used to set IDENTITIES_PATH
- name: JAVA_HOME
value: /usr/lib/jvm/jre
description: Workaround for issue with openjdk-runtime image where JAVA_HOME is wrongly set to /usr/lib/jvm/java-11
- name: JAVA_OPTIONS
description: Allows java properties and options to be provided to the JVM when the server is launched.
- name: CLI_JAVA_OPTIONS
description: Allows java properties and options to be provided to the JVM when the CLI is launched.
- name: ROUTER_JAVA_OPTIONS
description: Allows java properties and options to be provided to the JVM when the Gossip Router is launched.
- name: JAVA_DIAGNOSTICS
description: Set this to get some diagnostics information to standard output when things are happening. **Disabled by default.**
example: true
- name: JAVA_INIT_MEM_RATIO
description: This is used to calculate a default initial heap memory based the maximumal heap memory. The default is `100` which means 100% of the maximal heap is used for the initial heap size. You can skip this mechanism by setting this value to `0` in which case no `-Xms` option is added.
value: 0
- name: JAVA_MAX_MEM_RATIO
description: This is used to calculate a default maximal heap memory based on a containers restriction. If used in a container without any memory constraints for the container then this option has no effect. If there is a memory constraint then `-Xmx` is set to a ratio of the container available memory as set here. The default is `50` which means 50% of the available memory is used as an upper boundary. You can skip this mechanism by setting this value to `0` in which case no `-Xmx` option is added.
value: 50
- name: JAVA_GC_METASPACE_SIZE
description: The initial high-water mark for GC.
value: 32m
- name: JAVA_GC_MAX_METASPACE_SIZE
description: The maximum metaspace size.
value: 96m
- name: SERVER_LIBS
description: A list of artifacts to install in the server lib directory.
modules:
repositories:
- path: modules
install:
- name: org.infinispan.dependencies.jdk.common
- name: org.infinispan.dependencies
version: infinispan
- name: org.infinispan.distribution
version: jvm
- name: org.infinispan.runtime
run:
entrypoint:
- ./bin/launch.sh
user: 185
workdir: /opt/infinispan