Neo4j is a highly scalable native graph database that leverages data relationships as first-class entities, helping enterprises build intelligent applications to meet today’s evolving data challenges.
$ helm install incubator/neo4j
This chart bootstraps a Neo4j deployment on a Kubernetes cluster using the Helm package manager.
- Kubernetes 1.6+ with Beta APIs enabled
- PV provisioner support in the underlying infrastructure
To install the chart with the release name neo4j-helm
:
$ helm install --name neo4j-helm incubator/neo4j
The command deploys Neo4j on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
To uninstall/delete the neo4j-helm
deployment:
$ helm delete neo4j-helm --purge
The command removes all the Kubernetes components associated with the chart and deletes the release.
The following tables lists the configurable parameters of the Neo4j chart and their default values.
Parameter | Description | Default |
---|---|---|
image |
Neo4j image | neo4j |
imageTag |
Neo4j version | {VERSION} |
imagePullPolicy |
Image pull policy | IfNotPresent |
core.numberOfServers |
Number of machines in CORE mode | 3 |
core.persistentVolume.storageClass |
Storage class of backing PVC | standard (uses beta storage class annotation) |
core.persistentVolume.size |
Size of data volume | 10Gi |
core.persistentVolume.mountPath |
Persistent Volume mount root path | /data |
core.persistentVolume.annotations |
Persistent Volume Claim annotations | {} |
readReplica.numberOfServers |
Number of machines in READ_REPLICA mode | 0 |
resources |
Resources required (e.g. CPU, memory) | {} |
The above parameters map to the env variables defined in the Neo4j docker image.
Specify each parameter using the --set key=value[,key=value]
argument to helm install
. For example,
$ helm install --name neo4j-helm --set core.numberOfServers=5,readReplica.numberOfServers=3 incubator/neo4j
The above command creates a cluster containing 5 core servers and 3 read replicas.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name neo4j-helm -f values.yaml incubator/neo4j
Tip: You can use the default values.yaml