You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/kubernetes/accessing-neo4j.adoc
+32-25Lines changed: 32 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ kubectl get service `<my-neo4j-name>-lb-neo4j` -ocustom-columns=ip:.status.loadB
291
291
kubectl get service -l helm.neo4j.com/service=neo4j,helm.neo4j.com/name=<release-name> -ocustom-columns=ip:.status.loadBalancer.ingress[].ip
292
292
----
293
293
294
-
If the Kubernetes `LoadBalancer` implementation that you are using supports setting a static IP, the IP address of the `LoadBalancer` can be configured in the Neo4j Helm release by setting `externalService.loadBalancerIP`.
294
+
If the Kubernetes `LoadBalancer` implementation that you are using supports setting a static IP, the IP address of the `LoadBalancer` can be configured in the Neo4j Helm release by setting `services.neo4j.spec.loadBalancerIP`.
295
295
If a static IP address is not explicitly set, then Kubernetes does not guarantee that a dynamically assigned IP address will not change.
296
296
297
297
When exposing a Neo4j database on the Internet, it is recommended to use a static IP and configure SSL on the exposed services.
@@ -306,33 +306,40 @@ The default values are:
306
306
----
307
307
services:
308
308
neo4j:
309
-
annotations: { }
310
-
loadBalancerIP: NULL
311
-
ports:
312
-
http:
313
-
enabled: true
314
-
# uncomment to publish http on port 80 (neo4j default is 7474)
315
-
# port: 80
316
-
# targetPort: 7474
317
-
# name: http
318
-
https:
319
-
enabled: true
309
+
enabled: true
310
+
annotations: { }
311
+
spec:
312
+
type: LoadBalancer
313
+
loadBalancerIP: NULL
314
+
ports:
315
+
http:
316
+
enabled: true # Set this to false to remove HTTP from this service (this does not affect whether http is enabled for the neo4j process)
317
+
# uncomment to publish http on port 80 (neo4j default is 7474)
318
+
#port: 80
319
+
#targetPort: 7474
320
+
#name: http
321
+
#nodePort: <your-nodeport>, enabled only when type set to NodePort
322
+
https:
323
+
enabled: true # Set this to false to remove HTTPS from this service (this does not affect whether https is enabled for the neo4j process)
320
324
# uncomment to publish http on port 443 (neo4j default is 7473)
321
-
# port: 443
322
-
# targetPort: 7473
323
-
# name: https
324
-
bolt:
325
-
enabled: true
325
+
#port: 443
326
+
#targetPort: 7473
327
+
#name: https
328
+
#nodePort: <your-nodeport>, enabled only when type set to NodePort
329
+
bolt:
330
+
enabled: true # Set this to false to remove BOLT from this service (this does not affect whether https is enabled for the neo4j process)
326
331
# Uncomment to explicitly specify the port to publish Neo4j Bolt (7687 is the default)
327
-
# port: 7687
328
-
# targetPort: 7687
329
-
# name: tcp-bolt
330
-
backup:
331
-
enabled: false
332
+
#port: 7687
333
+
#targetPort: 7687
334
+
#name: tcp-bolt
335
+
#nodePort: <your-nodeport>, enabled only when type set to NodePort
336
+
backup:
337
+
enabled: false # Set this to true to expose backup port externally (n.b. this could have security implications. Backup is not authenticated by default)
332
338
# Uncomment to explicitly specify the port to publish Neo4j Backup (6362 is the default)
333
-
# port: 6362
334
-
# targetPort: 6362
335
-
# name: tcp-backup
339
+
#port: 6362
340
+
#targetPort: 6362
341
+
#name: tcp-backup
342
+
#nodePort: <your-nodeport>, enabled only when type set to NodePort
336
343
----
337
344
338
345
Disabling/enabling a port on the `services.neo4j` object removes it from the load balancer but does not affect whether it is disabled/enabled in Neo4j.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/kubernetes/configuration.adoc
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,7 +211,7 @@ For more information, see xref:kubernetes/security.adoc[Configure SSL].
211
211
212
212
213
213
Some examples of possible K8s configurations::
214
-
* Configure (or disable completely) the Kubernetes LoadBalancer that exposes Neo4j outside the Kubernetes cluster by modifying the `externalService` object in the _values.yml_ file.
214
+
* Configure (or disable completely) the Kubernetes LoadBalancer that exposes Neo4j outside the Kubernetes cluster by modifying the `services.neo4j.spec.loadBalancerIP` object in the _values.yml_ file.
215
215
* Set the `securityContext` used by Neo4j Pods by modifying the `securityContext` object in the _values.yml_ file.
216
216
* Configure manual persistent volume provisioning or set the `StorageClass` to be used as the Neo4j persistent storage.
217
217
@@ -269,7 +269,7 @@ neo4j:
269
269
# The operations pod ends successfully if the server is enabled, or it was already enabled
270
270
operations:
271
271
enableServer: false
272
-
image: "neo4j/helm-charts-operations:5.26.0"
272
+
image: "neo4j/helm-charts-operations:2025.06.2"
273
273
# protocol can be "neo4j or "neo4j+ssc" or "neo4j+s". Default set to neo4j
274
274
# Note: Do not specify bolt protocol here...it will FAIL.
# Because Neo4j uses Java these values are large to distinguish between long Garbage Collection pauses (which don't require a restart) and an actual failure.
601
613
# These values should mark Neo4j as not ready after at most 5 minutes of problems (20 attempts * max 15 seconds between probes)
602
614
readinessProbe:
615
+
tcpSocket:
616
+
port: 7687
603
617
failureThreshold: 20
604
618
timeoutSeconds: 10
605
619
periodSeconds: 5
@@ -608,6 +622,8 @@ readinessProbe:
608
622
# Because Neo4j uses Java these values are large to distinguish between long Garbage Collection pauses (which don't require a restart) and an actual failure.
609
623
# These values should trigger a restart after at most 10 minutes of problems (40 attempts * max 15 seconds between probes)
610
624
livenessProbe:
625
+
tcpSocket:
626
+
port: 7687
611
627
failureThreshold: 40
612
628
timeoutSeconds: 10
613
629
periodSeconds: 5
@@ -617,6 +633,8 @@ livenessProbe:
617
633
# When restoring Neo4j from a backup it's important that startup probe gives time for Neo4j to recover and/or upgrade store files
618
634
# When using Neo4j clusters it's important that startup probe give the Neo4j cluster time to form
0 commit comments