Skip to content

Commit 349c827

Browse files
authored
Add support for adding nodeSelector labels with neo4j-admin helm (#937) (#938)
Cherry-picked from #937
1 parent 660dd31 commit 349c827

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

modules/ROOT/pages/kubernetes/operations/backup-restore.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ The _neo4j/neo4j-admin_ Helm chart installs a cronjob that launches a pod based
204204
[[kubernetes-neo4j-backup-parameters]]
205205
=== Backup parameters
206206

207-
To see what options are configurable on the Helm chart use `helm show values` and the Helm chart _neo4j/neo4j-admin_.
207+
To see what options are configurable on the Helm chart use `helm show values` and the Helm chart _neo4j/neo4j-admin_. +
208+
From version 5.10, the _neo4j/neo4j-admin_ Helm chart also supports assigning your Neo4j pods to specific nodes using `nodeSelector` labels.
209+
For more information, see xref:kubernetes/operations/assign-neo4j-pods.adoc[Assigning backup pods to specific nodes].
208210
For example:
209211

210212
[source, shell, role='noheader']
@@ -304,9 +306,6 @@ backup:
304306
#Below are all neo4j-admin database backup flags / options
305307
#To know more about the flags read here : https://neo4j.com/docs/operations-manual/current/backup-restore/online-backup/
306308
pageCache: ""
307-
fallbackToFull: true
308-
removeExistingFiles: true
309-
removeBackupFiles: true
310309
includeMetadata: "all"
311310
type: "AUTO"
312311
keepFailed: false
@@ -354,6 +353,12 @@ resources:
354353
ephemeralStorage: "4Gi"
355354
limits:
356355
ephemeralStorage: "5Gi"
356+
357+
# nodeSelector labels
358+
# please ensure the respective labels are present on one of nodes or else helm charts will throw an error
359+
nodeSelector: {}
360+
# label1: "true"
361+
# label2: "value1"
357362
----
358363

359364
[[kubernetes-neo4j-restore]]

0 commit comments

Comments
 (0)