Assign Neo4j pods to specific nodes
The Neo4j Helm charts neo4j/neo4j
(from version 4.4.5) and neo4j/neo4j-admin
(from version 4.4.22) provide support for assigning your Neo4j pods to specific nodes using nodeSelector
labels.
You specify the nodeSelector
labels in the values.yaml file.
If there is no node with the given labels, the Helm chart will throw an error. |
nodeSelector labels in values.yaml
#nodeSelector labels
#Ensure the respective labels are present on one of the cluster nodes or else Helm charts will throw an error.
nodeSelector:
nodeNumber: one
name: node1
nodeSelector along with the --dry-run flagWhen running
or, use
|