Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Procedure documentation to upgrade the cluster #31

Open
AdrienLemaire opened this issue Apr 3, 2021 · 1 comment
Open

Procedure documentation to upgrade the cluster #31

AdrienLemaire opened this issue Apr 3, 2021 · 1 comment

Comments

@AdrienLemaire
Copy link

Hi,

I'd like to upgrade the cluster installed with v4.1 to v4.2, because CREATE CONSTRAINT IF NOT EXISTS is only available from v4.1.3 upwards, and I'd rather bump neo4j to the latest version at once.

neo4j@neo4j> call dbms.components() yield name, versions, edition unwind versions as version return name, version, edition;
+-----------------------------------------+
| name           | version | edition      |
+-----------------------------------------+
| "Neo4j Kernel" | "4.1.0" | "enterprise" |
+-----------------------------------------+

I've checked the Rolling upgrade for cloud infrastructure, and can check my pods status with

$ kubectl port-forward $MY_CLUSTER_LEADER_POD 7687:7687 7474:7474 6362:6362 --namespace $NAMESPACE
$ curl --user neo4j:$NEO4J_PASSWORD -v localhost:7474/db/neo4j/cluster/status | jq .

Note: Strangely, querying localhost:7474/dbms/cluster/status to get Combined status endpoints fails in 404 Not Found error...

I understand that I can add a 4th pod to my cluster, then go over the 3 others and stop them one by one.
But I do not understand how to upgrade neo4j in each pod. I'd need a new docker image, but using this kubernetes marketplace application and not having direct access to the kubernetes configuration files, I do not know how to proceed further.

Could you explain the steps to upgrade an existing cluster ? Thanks in advance

@AdrienLemaire
Copy link
Author

ping @neo-technology

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant