cancel
Showing results for 
Search instead for 
Did you mean: 

Neo4j Community Edition on Kubernetes

maot
Node Link

Is it possible to deploy the free version of Neo4j on my IBM cloud Kubernetes cluster? Or can this only be done when using the enterprise edition?

Thanks for any help!

9 REPLIES 9

Sure you can do this. However you cannot run a cluster of neo4j instances since this is a enterprise only feature.

There are a lot of options of getting a free Neo4j Enterprise license, see: https://neo4j.com/licensing/

david_allen
Neo4j
Neo4j

Yep, you can do this. Stefan & Michael are also both correct.

If you want a jumpstart on how to do this, check out the public helm chart here:

That chart is for multi-node clusters, not single node community. So to get what you'd want, you would:

  • Remove the read replica statefulset
  • Adjust the image on the core set to use the community image
  • Keep in mind that there's no point in scaling the stateful set, you should never have more than 1. If you scale up a statefulset of community pods, you end up with multiple independent databases, not a bigger single database.

How do I then connect to my single node?
I have read something about using port forwarding, but when I run the following command

kubectl port-forward neo4j-core-0 8474:7474 8687:7687

I get an error message: error forwarding ... Connection refused

Looks like your port numbers there are incorrect

Oh oke, how can I get the correct port numbers then?

Normally you would forward port 7474:7474 and port 7687:7687.

But please do indicate how you are trying to connect, what the error is, and what logs you see from kubectl forward, this gives us a better chance to see what's happening beyond connection refused.

Hi David, is it same as setting "standalone: true" for community edition?

FYI - this link is outdated - the newer link is https://github.com/neo4j/helm-charts

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.