Skip to content

Commit 10f8f25

Browse files
as51340antejavor
andauthored
Upgrade to 2.22 (memgraph#81)
* Upgrade to 2.22 --------- Co-authored-by: antejavor <ante.javor@memgraph.io>
1 parent 9bb5535 commit 10f8f25

File tree

7 files changed

+15
-21
lines changed

7 files changed

+15
-21
lines changed

charts/memgraph-high-availability/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: memgraph-high-availability
33
description: A Helm chart for Kubernetes with Memgraph High availabiliy capabilites
44

5-
version: 0.1.3
6-
appVersion: "2.18.1"
5+
version: 0.1.4
6+
appVersion: "2.22.0"
77

88
type: application
99

charts/memgraph-high-availability/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Helm chart for Memgraph high availability (HA) cluster (Enterprise)
22
A Helm Chart for deploying Memgraph in [high availability setup](https://memgraph.com/docs/clustering/high-availability). This Helm Chart requires an [Enterprise version of Memgraph](https://memgraph.com/docs/database-management/enabling-memgraph-enterprise).
33

4-
Memgraph HA cluster includes 3 coordinators, 2 data instances by default. The cluster setup is performed via the cluster-setup job. The HA cluster is still work in progress and started with "--experimental-enabled=high-availability".
5-
The cluster is started in the configuration without the node selector, which means that in the current configuration, it is not highly available if the node fails.
4+
Memgraph HA cluster includes 3 coordinators, 2 data instances by default. The cluster setup is performed via the cluster-setup job.
65

76
## Installing the Memgraph HA Helm Chart
87
To install the Memgraph HA Helm Chart, follow the steps below:

charts/memgraph-high-availability/templates/NOTES.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Thank you for installing the Memgraph High-availability cluster (Enterprise)! 🎉
22

3-
Memgraph HA cluster includes 3 coordinators, 2 data instances by default. The cluster setup is performed via the cluster-setup job. The HA cluster is still work in progress and started with "--experimental-enabled=high-availability".
4-
The cluster is started in the configuration without the node selector, which means that in the current configuration, it is not highly available if the node fails.
3+
Memgraph HA cluster includes 3 coordinators, 2 data instances by default. The cluster setup is performed via the cluster-setup job.
4+
55

66
The cluster setup requires the proper enterprise license to work since HA is an enterprise feature.
77

charts/memgraph-high-availability/values.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
memgraph:
22
image:
33
repository: memgraph/memgraph
4-
tag: 2.18.1
4+
tag: 2.22.0
55
pullPolicy: IfNotPresent
66
env:
77
MEMGRAPH_ENTERPRISE_LICENSE: "<your-license>"
@@ -53,7 +53,6 @@ sysctlInitContainer:
5353
data:
5454
- id: "0"
5555
args:
56-
- "--experimental-enabled=high-availability"
5756
- "--management-port=10000"
5857
- "--bolt-port=7687"
5958
- "--also-log-to-stderr"
@@ -62,7 +61,6 @@ data:
6261

6362
- id: "1"
6463
args:
65-
- "--experimental-enabled=high-availability"
6664
- "--management-port=10000"
6765
- "--bolt-port=7687"
6866
- "--also-log-to-stderr"
@@ -72,7 +70,6 @@ data:
7270
coordinators:
7371
- id: "1"
7472
args:
75-
- "--experimental-enabled=high-availability"
7673
- "--coordinator-id=1"
7774
- "--coordinator-port=12000"
7875
- "--management-port=10000"
@@ -85,7 +82,6 @@ coordinators:
8582

8683
- id: "2"
8784
args:
88-
- "--experimental-enabled=high-availability"
8985
- "--coordinator-id=2"
9086
- "--coordinator-port=12000"
9187
- "--management-port=10000"
@@ -98,7 +94,6 @@ coordinators:
9894

9995
- id: "3"
10096
args:
101-
- "--experimental-enabled=high-availability"
10297
- "--coordinator-id=3"
10398
- "--coordinator-port=12000"
10499
- "--management-port=10000"

charts/memgraph/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: memgraph
33
home: https://memgraph.com/
44
type: application
5-
version: 0.1.7
6-
appVersion: "2.21.0"
5+
version: 0.1.8
6+
appVersion: "2.22.0"
77
description: MemgraphDB Helm Chart
88
keywords:
99
- graph

charts/memgraph/templates/tests/test-connection.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: memgraph-test
14-
image: memgraph/memgraph:2.18.1
14+
image: memgraph/memgraph:2.22.0
1515
command: ["/bin/sh", "-c"]
1616
args:
1717
- |

docker-compose/docker-compose.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
- ./HA_register.cypher:/tmp/init/HA_register.cypher:ro
1717
environment:
1818
- MEMGRAPH_HA_CLUSTER_INIT_QUERIES=/tmp/init/HA_register.cypher
19-
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord1", "--log-file=/tmp/coord1.log", "--also-log-to-stderr", "--coordinator-id=1", "--coordinator-port=10111", "--coordinator-hostname=coord1", "--experimental-enabled=high-availability"]
19+
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord1", "--log-file=/tmp/coord1.log", "--also-log-to-stderr", "--coordinator-id=1", "--coordinator-port=10111", "--coordinator-hostname=coord1"]
2020
networks:
2121
memgraph_ha:
2222
ipv4_address: 172.21.0.4
@@ -26,7 +26,7 @@ services:
2626
container_name: coord2
2727
volumes:
2828
- ./license.cypher:/tmp/init/license.cypher:ro
29-
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord2", "--log-file=/tmp/coord2.log", "--also-log-to-stderr", "--coordinator-id=2", "--coordinator-port=10112", "--coordinator-hostname=coord2", "--experimental-enabled=high-availability"]
29+
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord2", "--log-file=/tmp/coord2.log", "--also-log-to-stderr", "--coordinator-id=2", "--coordinator-port=10112", "--coordinator-hostname=coord2"]
3030
networks:
3131
memgraph_ha:
3232
ipv4_address: 172.21.0.2
@@ -36,7 +36,7 @@ services:
3636
container_name: coord3
3737
volumes:
3838
- ./license.cypher:/tmp/init/license.cypher:ro
39-
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord3", "--log-file=/tmp/coord3.log", "--also-log-to-stderr", "--coordinator-id=3", "--coordinator-port=10113", "--coordinator-hostname=coord3", "--experimental-enabled=high-availability"]
39+
command: [ "--init-file=/tmp/init/license.cypher", "--log-level=TRACE", "--data-directory=/tmp/mg_data_coord3", "--log-file=/tmp/coord3.log", "--also-log-to-stderr", "--coordinator-id=3", "--coordinator-port=10113", "--coordinator-hostname=coord3"]
4040

4141
networks:
4242
memgraph_ha:
@@ -47,7 +47,7 @@ services:
4747
container_name: instance1
4848
volumes:
4949
- ./license.cypher:/tmp/init/license.cypher:ro
50-
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance1", "--log-file=/tmp/instance1.log", "--also-log-to-stderr", "--management-port=10011", "--experimental-enabled=high-availability"]
50+
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance1", "--log-file=/tmp/instance1.log", "--also-log-to-stderr", "--management-port=10011"]
5151
networks:
5252
memgraph_ha:
5353
ipv4_address: 172.21.0.6
@@ -57,7 +57,7 @@ services:
5757
container_name: instance2
5858
volumes:
5959
- ./license.cypher:/tmp/init/license.cypher:ro
60-
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance2", "--log-file=/tmp/instance2.log", "--also-log-to-stderr", "--management-port=10012", "--experimental-enabled=high-availability"]
60+
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance2", "--log-file=/tmp/instance2.log", "--also-log-to-stderr", "--management-port=10012"]
6161
networks:
6262
memgraph_ha:
6363
ipv4_address: 172.21.0.7
@@ -67,7 +67,7 @@ services:
6767
container_name: instance3
6868
volumes:
6969
- ./license.cypher:/tmp/init/license.cypher:ro
70-
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance3", "--log-file=/tmp/instance3.log", "--also-log-to-stderr", "--management-port=10013", "--experimental-enabled=high-availability"]
70+
command: ["--init-file=/tmp/init/license.cypher","--data-recovery-on-startup=true", "--log-level=TRACE", "--data-directory=/tmp/mg_data_instance3", "--log-file=/tmp/instance3.log", "--also-log-to-stderr", "--management-port=10013"]
7171
networks:
7272
memgraph_ha:
7373
ipv4_address: 172.21.0.8

0 commit comments

Comments
 (0)