-
Notifications
You must be signed in to change notification settings - Fork 0
/
image.yaml
132 lines (131 loc) · 6.11 KB
/
image.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
schema_version: 1
name: "jboss-amq-6/amq63-openshift"
description: "Red Hat JBoss AMQ 6.3 OpenShift container image"
version: "1.4"
from: "jboss-amq-6/amq63:latest"
labels:
- name: "com.redhat.component"
value: "jboss-amq-6-amq63-openshift-container"
- name: "io.k8s.description"
value: "A reliable messaging platform that supports standard messaging paradigms for a real-time enterprise."
- name: "io.k8s.display-name"
value: "JBoss A-MQ 6.3"
- name: "io.openshift.tags"
value: "messaging,amq,java,jboss,xpaas"
- name: "io.openshift.s2i.scripts-url"
value: "image:///usr/local/s2i"
envs:
- name: AMQ_USERNAME
example: username
description: Username for AMQ authentication and authentication
- name: AMQ_PASSWORD
example: password
description: Password corresponding to AMQ_USERNAME
- name: AMQ_DNAME
example: CN=localhost, OU=broker, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
description: SSL certificate distinguished name corresponding to AMQ_USERNAME
- name: AMQ_SPLIT
example: true
description: "Allow multiple instances to share the same Persistent Volume. If set to true each instance will use a separate area within the Persistent Volume as its data directory. Default is unset."
- name: AMQ_LOCK_TIMEOUT
example: 30
description: "If allowing multiple instances to share the same Persistent Volume then wait for this timeout period (seconds) to see if an existing server will terminate before moving to the next instance. Default is 30 seconds."
- name: "AMQ_STORAGE_USAGE_LIMIT"
example: "10 gb"
description: "Sets the store disk limit usage in activemq.xml. If the value set is greater than the disk size, it will be resized to the available disk space."
- name: "AMQ_QUEUE_MEMORY_LIMIT"
example: "2mb"
description: "Sets the queue memory limit in activemq.xml"
- name: AMQ_TRANSPORT_ENABLED_PROTOCOLS
example: TLSv1,TLSv1.1,TLSv1.2
description: "Sets the enabled SSL protocols"
- name: AMQ_NEED_CLIENT_AUTH
example: false
description: "Sets SSL to require client authentication"
- name: "JAVA_OPTS_APPEND"
example: "-Dactivemq.foo=bar"
description: "Server startup options."
- name: SCRIPT_DEBUG
description: If set to true, ensurses that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed.
example: "true"
- 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.
example: "50"
- name: JAVA_INITIAL_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.
example: "100"
- name: JAVA_MAX_INITIAL_MEM
description: The maximum size of the initial heap memory, if the calculated default initial heap is larger then it will be capped at this value. The default is 4096 MB.
example: "4096"
- name: JAVA_CORE_LIMIT
description: Core limit as described in https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt. Used to configure the number of GC threads and parallelism for ForkJoinPool. Defaults to container core limit.
example: "2"
- name: JAVA_DIAGNOSTICS
description: Set this to get some diagnostics information to standard output when things are happening. **Disabled by default.**
example: "true"
- name: GC_MIN_HEAP_FREE_RATIO
description: Minimum percentage of heap free after GC to avoid expansion.
example: "20"
- name: GC_MAX_HEAP_FREE_RATIO
description: Maximum percentage of heap free after GC to avoid shrinking.
example: "40"
- name: GC_TIME_RATIO
description: Specifies the ratio of the time spent outside the garbage collection (for example, the time spent for application execution) to the time spent in the garbage collection.
example: "4"
- name: GC_ADAPTIVE_SIZE_POLICY_WEIGHT
description: The weighting given to the current GC time versus previous GC times.
example: "90"
- name: GC_MAX_METASPACE_SIZE
description: The maximum metaspace size.
example: "100"
- name: "CONTAINER_HEAP_PERCENT"
example: 0.5
description: Deprecated. See JAVA_MAX_MEM_RATIO.
- name: "INITIAL_HEAP_PERCENT"
example: 0.5
description: Deprecated. See JAVA_INITIAL_MEM_RATIO.
ports:
- value: 5672
- value: 5671
- value: 1883
- value: 8883
- value: 61613
- value: 61612
- value: 61616
- value: 61617
modules:
repositories:
- name: cct_module
git:
url: https://github.com/jboss-openshift/cct_module.git
ref: master
install:
- name: dynamic-resources
- name: s2i-common
- name: os-amq-secure-mgmt-console
- name: os-amq-optional
- name: os-java-run
- name: os-amq-launch
- name: os-partition
- name: os-java-jolokia
- name: os-amq-jolokia
- name: os-amq-s2i
- name: os-amq-permissions
- name: openshift-passwd
- name: os-logging
packages:
repositories:
- jboss-os
install:
- PyYAML
artifacts:
- path: ce-amq-drain-1.0.0.Final-redhat-1.jar
md5: 65b9aba8e5a0b7d7b259a6028f85595e
run:
user: 185
cmd:
- "/opt/amq/bin/launch.sh"
osbs:
repository:
name: containers/jboss-amq-6
branch: jb-amq-6.3-openshift-rhel-7