This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
/
values.yaml
348 lines (300 loc) · 10.4 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
# Default values for Neo4j.
# This is a YAML-formatted file.
# Declare name/value pairs to be passed into your templates.
# name: value
name: "neo4j"
# Specs for the Neo4j docker image
image: "neo4j"
imageTag: "4.4.10-enterprise"
imagePullPolicy: "IfNotPresent"
# imagePullSecret: registry-secret
acceptLicenseAgreement: "no"
podDisruptionBudget: {}
# minAvailable: 2
# maxUnavailable: 1
## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
## Tolerations for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []
## Affinity for pod assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
## Labels to be added to pods
podLabels: {}
## Annotations to be added to pods
podAnnotations: {}
# Use password authentication
authEnabled: true
## Specify password for neo4j user
## Defaults to a random 10-character alphanumeric string if not set and authEnabled is true
# neo4jPassword:
## Specify secret name containing the password for neo4j user
# existingPasswordSecret
## Specify the key in existingPasswordSecret, in which the password is contained
# existingPasswordSecretKey
# Specify cluster domain (used eg. as suffix in the eventual internal hostnames)
clusterDomain: "cluster.local"
# Specs for the images used for running tests against the Helm package
# https://github.com/mneedham/k8s-kubectl this is a general kubectl docker image
testImage: "gcr.io/neo4j-helm/tester"
# Whether or not to use APOC: https://neo4j.com/labs/apoc/
# If you do not want APOC, make the array empty []
plugins: "[\"apoc\"]"
# The default name of the Neo4j database to use.
# See https://neo4j.com/docs/operations-manual/current/manage-databases/introduction/#manage-databases-default
defaultDatabase: "neo4j"
# Cores
core:
# configMap: "my-custom-configmap"
envFrom: []
resources: {}
# limits:
# cpu: "100m"
# memory: 512Mi
# requests:
# cpu: "100m"
# memory: 512Mi
standalone: false
numberOfServers: 3
persistentVolume:
## whether or not persistence is enabled
##
enabled: true
## core server data Persistent Volume mount root path
##
mountPath: /data
## core server data Persistent Volume size
## default value is large because in most cloud providers disk IOPS are proportional to disk size. Small disks frequently encounter IOPS throttling which
## is extremely detrimental to neo4j performance.
size: 1Ti
## core server data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
## storageClass: "-"
## Subdirectory of core server data Persistent Volume to mount
## Useful if the volume's root directory is not empty
##
## subPath: ""
sidecarContainers: []
## Additional containers to be added to the Neo4j core pod.
# - name: my-sidecar
# image: nginx:latest
initContainers: []
## init containers to run before the Neo4j core pod e.g. to install plugins
## They can also be used to restore from last available backup, to ensure that newly joining
## core members have less TX history to catch up on before joining the cluster.
## Note that this is specifically *not* needed for APOC, which is included by default.
# - name: init-plugins
# image: "appropriate/curl:latest"
# imagePullPolicy: "IfNotPresent"
# volumeMounts:
# - name: plugins
# mountPath: /plugins
# command:
# - "/bin/sh"
# - "-c"
# - |
# curl -L https://somesite.com/path/to/plugin.jar -O
# cp plugin.jar /plugins/
## This service is intended for clients running in kubernetes to connect to
## the cluster.
## Default: ClusterIP (headless)
service:
type: ClusterIP
annotations: {}
labels: {}
loadBalancerSourceRanges: []
## This creates a discovery Service for each member in the core set, and ties
## to the use of the Neo4j discovery type "K8S" with the configured selectors.
## Default: ClusterIP (headless)
discoveryService:
type: ClusterIP
annotations: {}
labels: {}
loadBalancerSourceRanges: []
# Controls how many services get created. Usually want to over-provision so cores can
# scale up for things like rolling upgrades.
instances: [0, 1, 2, 3, 4, 5]
standaloneOnly: [0]
## specify additional volumes to mount in the core container, this can be used
## to specify additional storage of material or to inject files from ConfigMaps
## into the running container
additionalVolumes: []
## specify where the additional volumes are mounted in the core container
additionalVolumeMounts: []
terminationGracePeriodSeconds: 300
restore:
enabled: false
image: gcr.io/neo4j-helm/restore
imageTag: 4.4.10
secretName: null
database: neo4j,system
cloudProvider: gcp
bucket: gs://test-neo4j
timestamp: "latest"
forceOverwrite: true
purgeOnComplete: true
# Read Replicas
readReplica:
# configMap: "my-custom-configmap"
envFrom: []
resources: {}
# limits:
# cpu: "100m"
# memory: 512Mi
# requests:
# cpu: "100m"
# memory: 512Mi
autoscaling:
enabled: false
targetAverageUtilization: 70
minReplicas: 1
maxReplicas: 3
numberOfServers: 0
persistentVolume:
enabled: true
mountPath: /data
## default value is large because in most cloud providers disk IOPS are proportional to disk size. Small disks frequently encounter IOPS throttling which
## is extremely detrimental to neo4j performance.
size: 1Ti
## subPath: ""
## read replica data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
## storageClass: "-"
sidecarContainers: []
## Additional containers to be added to the Neo4j replica pod.
# - name: my-sidecar
# image: nginx:latest
initContainers: []
## init containers to run before the Neo4j replica pod e.g. to install custom plugins
## They can also be used to restore from last available backup, to ensure that newly joining
## core members have less TX history to catch up on before joining the cluster.
## Note that this is specifically *not* needed for APOC, which is included by default.
# - name: init-plugins
# image: "appropriate/curl:latest"
# imagePullPolicy: "IfNotPresent"
# volumeMounts:
# - name: plugins
# mountPath: /plugins
# command:
# - "/bin/sh"
# - "-c"
# - |
# curl -L https://somesite.com/path/to/plugin.jar -O
# cp plugin.jar /plugins/
## This service is intended for clients running in kubernetes to connect to
## the cluster replica set.
## Default: ClusterIP (headless)
service:
type: ClusterIP
annotations: {}
labels: {}
loadBalancerSourceRanges: []
## specify additional volumes to mount in the read replica container, this can
## be used to specify additional storage of material or to inject files from
## ConfigMaps into the running container
additionalVolumes: []
## specify where the additional volumes are mounted in the read replica
## container
additionalVolumeMounts: []
terminationGracePeriodSeconds: 300
restore:
enabled: false
image: gcr.io/neo4j-helm/restore
imageTag: 4.1.0-1
secretName: null
database: neo4j,system
cloudProvider: gcp
bucket: gs://test-neo4j
timestamp: "latest"
forceOverwrite: true
purgeOnComplete: true
# Readiness probes will send a kill signal to the container if
# it fails enough times. It's therefore very important
# that initialDelaySeconds give the cluster time to form, because
# if readiness probes start immediately after container start,
# they may end up not forming quickly enough and getting killed.
# DEPENDENCY: If you're running in standalone mode, the single machine
# starts much faster. You could set initialDelaySeconds to something like
# 30 and it would be OK for a stand-alone machine, but not for a cluster.
readinessProbe:
initialDelaySeconds: 120
failureThreshold: 3
timeoutSeconds: 2
periodSeconds: 10
tcpSocket:
port: 7687
livenessProbe:
initialDelaySeconds: 300
periodSeconds: 10
failureThreshold: 3
timeoutSeconds: 2
tcpSocket:
port: 7687
# Startup probes are used to know when a container application has started.
# If such a probe is configured, it disables liveness and readiness checks until it succeeds
startupProbe:
failureThreshold: 2000
periodSeconds: 25
tcpSocket:
port: 7687
## (OPTIONAL) Expose Neo4j metrics
# The structure of this object matches the Neo4j config syntax
# Found in chapter 13 of the operations manual:
# https://neo4j.com/docs/operations-manual/current/monitoring/metrics/expose/
metrics:
graphite:
enabled: false
server: localhost:2003
interval: 3s
# This will be set to the app name later.
# metrics.prefix=Neo4j_1
prometheus:
## Publish metrics for polling as Prometheus endpoint
enabled: false
endpoint: localhost:2004
csv:
enabled: true
interval: 3s
jmx:
enabled: true
dbms:
memory:
use_memrec: false
heap:
initial_size: ""
max_size: ""
pagecache:
size: ""
transaction:
memory_allocation: ""
# maximum size of an individual transaction
max_size: ""
# maximum size of all transactions combined
global_max_size: ""
# Create Role and RoleBinding
rbac:
create: true
serviceAccount:
create: true
annotations: {}
# If empty, name will be generated from the chart's fullname
name:
securityContext: {}
# Sets securityContext at the pod level.
# The following values for securityContext are recommended but may depend on your specific volume and filesystem settings
# runAsNonRoot: true
# runAsUser: 7474
containerSecurityContext: {}
# Sets securityContext at the container level.
# We recommend to only use this if (pod) securityContext cannot be used. For example certain security options can only be set at this level.
# allowPrivilegeEscalation: false