Assign Neo4j pods to specific nodes
The Neo4j Helm charts neo4j/neo4j and neo4j/neo4j-admin 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 chart will throw an error.
nodeSelector:
nodeNumber: one
name: node1
nodeSelector along with the --dry-run flagWhen running You can either add the following to the values.yaml file:
or, use
|