- nebula 版本:
- 部署方式(分布式 ):kubernetes三个工作节点专门用来部署
- 硬件信息:
4核16g三台,磁盘用的动态存储类挂载的aws的ebs卷
具体操作如下:
k8s三台node:
kubectl label node node01 nebula="yes"
kubectl label node node02 nebula="yes"
kubectl label node node03 nebula="yes"
#安装
wget https://github.com/vesoft-inc/nebula/archive/master.zip
unzip master.zip
更改nebula-master/kubernetes/helm/values里面的MetadHosts为三个节点的ip,更改存储类为aws的ebs动态类,更改namespace为db,然后
helm install nebula-master/kubernetes/helm,
状态
三个nebula-graphd正常启动,
一个nebula-metad重启几次后CrashLoopBackOff(另外两个pending,没有调度到机器上):报错如下,
++ hostname -i
+ exec /usr/local/nebula/bin/nebula-metad --flagfile=/usr/local/nebula/etc/nebula-metad.conf --local_ip=172.31.21.56 --v=0 --minloglevel=2 --daemonize=false
*** Aborted at 1610543651 (unix time) try "date -d @1610543651" if you are using GNU date ***
PC: @ 0x7f107f25285d __GI_nanosleep
*** SIGTERM (@0x0) received by PID 1 (TID 0x7f10800b09c0) from PID 0; stack trace: ***
@ 0x1caef51 (unknown)
@ 0x7f107f56a62f (unknown)
@ 0x7f107f25285d __GI_nanosleep
@ 0x7f107f2526f3 __sleep
@ 0xf913c8 initKV()
@ 0xf674a1 main
@ 0x7f107f1af554 __libc_start_main
@ 0xf8fe0d (unknown)
一个nebula-storaged-1正常启动,另外两个也是pending状态,没有调度到工作机器上