Closed hoptical closed 4 years ago
I am facing the same issue.
same for me in kubernetes
I'm facing the same thing... (It's not always stuck)
So I solved the issue the following way:
Use this helm chart: https://github.com/neo-technology/neo4j-google-k8s-marketplace/tree/3.5/chart .
Forget about this chart here ...
I downloaded the google-marketplace chart, edited the values according to my environment and could successfully start a causal cluster in the neo4j namespace. We also used our own docker images that had some plugins installed.
The problem you are facing with that, is related to DNS. The cores trying to find each other by the neo4j.neo4j.svc.cluster.local if it deployed in neo4j namespace which is failed. The steps you can find the issue can be like below:
kubectl exec -ti busybox -- nslookup kubernetes.default
If DNS is working correctly, the command returns a response like the following example:
Server: 10.96.0.10
Address 1: 10.96.0.10 kube-dns.kube-system.svc.cluster.local
Name: kubernetes.default
Address 1: 10.96.0.1 kubernetes.default.svc.cluster.local
If DNS do not work correctly this link can be helpful [https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/]kubectl get pod -n kube-system
and kubectl logs <the name of the network plugin>
. You probably see some issue with that. Folks if you're arriving at this repo, please be aware that it is unmaintained and won't be maintained again. Check the message on the front page README of the repo.
Neo4j offers two options for running on kubernetes -- the public helm chart and the GKE marketplace option.
Public Helm Chart (should be suitable for most kubernetes, but may require tweaking) - https://github.com/helm/charts/tree/master/stable/neo4j
Google Kubernetes Marketplace - https://github.com/neo-technology/neo4j-google-k8s-marketplace
Questions can also be put on community.neo4j.com.
Hi, I used the readme documentation line by line to implement core pods of neo4j clustering. But it sticks at connecting to other members and cannot start:
It stays at last line and doesn't continue and even doesn't throw a failure error! What should I do? Thanks.