-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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