forked from neo4j-contrib/neo4j-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
247 lines (213 loc) · 6.93 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
# 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.1.0-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: {}
# 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 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"
testImageTag: "4.0.0"
# Whether or not to use APOC: https://neo4j.com/labs/apoc/
# Comment out if you do not want to use it.
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"
# restoreSecret=neo4j-service-key
# Cores
core:
# configMap: "my-custom-configmap"
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
##
size: 10Gi
## 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: []
# Read Replicas
readReplica:
# configMap: "my-custom-configmap"
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
size: 10Gi
## subPath: ""
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: []
resources: {}
# limits:
# cpu: 1000m
# memory: 1G
# requests:
# cpu: 1000m
# memory: 1G
# 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
## (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: ""