Giter Site home page Giter Site logo

neo4j-pks's Introduction

Neo4j PKS Integration

CircleCI

For documentation on installation and usage, please refer to the user guide

Documentation

Official documentation for Neo4j on PKS resides here in Pivotal's repo:

https://github.com/pivotal-cf/docs-neo4j-enterprise

Neo4j maintains a fork of that repo for upstream contributions here:

https://github.com/neo-technology/docs-neo4j-enterprise

The rest of the documentation here focuses on build chain and local testing.

Overview

This repo contains the files necessary to package and install Neo4j for Pivotal PKS. The approach is based on a helm template, which expands to YAML that can be used to install Neo4j.

In general, the chart is divided into two key components; a StatefulSet for "core nodes" and a StatefulSet for "read replicas". This structure mimics the Neo4j Cluster Architecture

Persistent Volumes (PVs) are used to back each cluster pod; HA clusters generally call for a minimum of 3 core nodes and 0 read replicas.

Related/Ancillary Documentation

Manual Installation

Helm Installation

Just running make install should be enough if your kubectl is set up properly. This will additionally handle the tiller setup, if necessary.

Helm Expansion

This shows the use of various configuration parameters which can be adjusted.

helm template chart/ \
   --set namespace=default \
   --set image=neo4j:3.5.2 \
   --set name=graph-$(head -c 3 /dev/urandom | base64) \
   --set neo4jPassword=mySecretPassword \
   --set authEnabled=true \
   --set coreServers=3 \
   --set readReplicaServers=0 \
   --set cpuRequest=200m \
   --set memoryRequest=1Gi \
   --set volumeSize=2Gi \
   --set volumeStorageClass=standard \
   --set acceptLicenseAgreement=yes > expanded.yaml

Applying to Cluster (Manual)

kubectl apply -f expanded.yaml

Removing the Installation

kubectl delete -f expanded.yaml

(Optional) Removing the Left-Behind PVCs

Here, the value "graph-MdwZ" was the name generated in the above step.

kubectl delete pvc --namespace default -l release=graph-MdwZ -l app=neo4j

neo4j-pks's People

Contributors

moxious avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.