此处忽略k8s以及helm的安装。。。。
(1)查找neo4j安装包
helm search neo4j
NAME CHART VERSION APP VERSION DESCRIPTION
incubator/neo4j 0.3.0 3.2.3 Neo4j is the world's leading graph database
stable/neo4j 0.8.0 3.4.5 Neo4j is the world's leading graph database
(2)查看安装包配置项
helm inspect incubator/neo4j
可支持Causal cluster集群
(3)获取安装包
helm fetch stable/neo4j
(4)解压安装包
tar -xvzf neo4j-0.8.0.tgz && cd neo4j/
(5)创建storgeclass
vim nfs-client-class-neo4j.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: neo4j-nfs-storage
provisioner: fuseim.pri/ifs # or choose another name, must match deployment's env PROVISIONER_NAME'
fuseim.pri/ifs是provisioner,如何创建provisioner,自行查找