/
values.yaml
179 lines (178 loc) · 5.79 KB
/
values.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
platform:
deploy: true
nodeSelectors:
enable: false
selectors: { }
service:
type: NodePort
port: 5701
nodePort: 30080
cluster:
prometheusScrape:
enable: true
annotations:
prometheus.io/scrape: "true"
prometheus.io/path: "/metrics"
prometheus.io/port: "8080"
logging:
level: INFO
features:
prometheusExport:
# Will use '(...).cluster.members.ports.metrics' to expose member metrics via Prometheus exporter
enable: true
members:
edition:
community:
image: hazelcast/hazelcast:5.3.6
enterprise:
# Whether to use the enterprise version of Hazelcast Platform. If enabled, the name of the Kubernetes Secret
# containing the enterprise license key has to be specified, too, see below.
enable: false
# Caution: Hazelcast Platform embodies the difference between editions in the image itself. Therefore, image
# configuration is separated here into 'enterprise.image' and 'community.image'. (In contrast to that, the
# Hazelcast Management Center uses one image you may supply an enterprise license to, hence for the Management
# Center down below, the image property appears only once).
image: hazelcast/hazelcast-enterprise:5.3.6
license:
# The name of the Kubernetes Secret containing the license key for
# the enterprise version of Hazelcast Platform.
secretName: hazelcast-enterprise-license
# The name of the property beneath the Secret's 'data' element that holds the license key.
keyPath: licenseKey
imagePullPolicy: IfNotPresent
count: 2
ports:
member: 5701
metrics: 8080
gracefulShutDown:
maxWaitSeconds: 60
containerResources:
requests:
cpu: "1"
memory: "2G"
limits:
cpu: "1"
memory: "2G"
jvmResources:
xmx: 1600m
xms: 1600m
liveness:
initialDelaySeconds: 15
periodSeconds: 10
readiness:
initialDelaySeconds: 30
periodSeconds: 10
config:
hazelcast:
metrics:
enabled: true
# Default is 5 -- by setting this to a higher value, one can decrease load on the Management Center
# because it will receive fewer data points to work with
collection-frequency-seconds: 5
jet:
enabled: true
cluster-name: "hazelcastplatform"
properties:
hazelcast.heartbeat.interval.seconds: 10
hazelcast.jmx: true
hazelcast.logging.type: log4j2
network:
rest-api:
enabled: true
endpoint-groups:
HEALTH_CHECK:
enabled: true
join:
multicast:
enabled: false
kubernetes:
enabled: true
service-port: 5701
# https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/resources/hazelcast-full-example.yaml
map:
# Create very restrictive config for all map names not corresponding to one of
# the other patterns such as to protect cluster from potentially misbehaving clients
default:
backup-count: 0
max-idle-seconds: 5
in-memory-format: BINARY
eviction:
eviction-policy: LRU
max-size-policy: FREE_HEAP_PERCENTAGE
size: 50
# Config for the Hazeltest maps
ht_*:
backup-count: 1
# Keep entries around for ten minutes
max-idle-seconds: 600
in-memory-format: BINARY
eviction:
eviction-policy: LRU
max-size-policy: FREE_HEAP_PERCENTAGE
size: 15
queue:
# Restrictive default
default:
max-size: 10
backup-count: 0
empty-queue-ttl: 10
# Config for Hazeltest queues
ht_*:
max-size: 10000
backup-count: 1
empty-queue-ttl: 120
mancenter:
nodeSelectors:
enable: false
selectors: { }
deploy: true
reachability:
service:
deploy: true
type: ClusterIP
port: 8080
ingress:
deploy: true
port: 8080
hostName: hazelcastmanagementcenter.thelittlevmthatcould.local
instance:
image: hazelcast/management-center:5.3.3
# Enables injection of enterprise license.
# Please note that, in case of the Management Center, there is no distinction between the community and the
# enterprise edition as far as the image is concerned, hence there is no dedicated image property.
enterprise:
# Whether to upgrade this Management Center instance to the enterprise version by injecting a secret into the
# Pod. If set to 'true', then the name of the Kubernetes Secret containing the enterprise license
# key has to be specified, too.
enable: false
license:
# The name of the Kubernetes Secret containing the license key for
# the enterprise version of Management Center.
secretName: hazelcast-enterprise-license
# The name of the property beneath the Secret's 'data' element that holds the license key.
keyPath: licenseKey
imagePullPolicy: IfNotPresent
prometheusScrape:
enable: false
path: /metrics
port: 8080
# 'enabled' vs. 'enable' is not a typo, those properties are actually called like so
javaOpts: "-Dhazelcast.mc.metrics.persistence.enabled=false -Dhazelcast.mc.healthCheck.enable=true"
ports:
web:
name: web
port: 8080
health:
name: health
port: 8081
liveness:
path: /health
readiness:
path: /health
resources:
requests:
cpu: "500m"
memory: "1G"
limits:
cpu: "1"
memory: "2G"