Skip to content

Latest commit

 

History

History
58 lines (49 loc) · 1.28 KB

File metadata and controls

58 lines (49 loc) · 1.28 KB

Example - Install Neo4j using manually created disks and a Persistent Volume selector

This example uses manually provisioned cloud disks for the Neo4j storage volumes. The neo4j-persistent-volume chart is used to configure a PV and storage class for the disk. The neo4j chart then configures the statefulset to use a selector based volume claim template. A PVC will be dynamically provisioned using the created PV.

The example will use the following Helm values

neo4j:
  name: volume-selector
volumes:
  data:
    mode: selector
    selector:
      storageClassName: "manual"
      accessModes:
        - ReadWriteOnce
      requests:
        storage: 10Gi

Install in AWS

export AWS_ZONE=us-east-1a
./install-example-aws.sh $AWS_ZONE

Cleanup AWS

./cleanup-example-aws.sh

Install in GCP

export CLOUDSDK_CORE_PROJECT=my-gcp-project
export CLOUDSDK_COMPUTE_ZONE=my-zone
./install-example-gcp.sh

Cleanup GCP

./cleanup-example-gcp.sh

Install in Azure

export AKS_CLUSTER_NAME=my-neo4j-cluster
export AZURE_RESOURCE_GROUP=myResourceGroup
export AZURE_LOCATION=mylocation
./install-example-azure.sh $AKS_CLUSTER_NAME $AZURE_RESOURCE_GROUP $AZURE_LOCATION

Cleanup Azure

./cleanup-example-azure.sh