Skip to content

Commit

Permalink
Add coordinator hostname for solving 0.0.0.0 first leader issue (#30)
Browse files Browse the repository at this point in the history
* Add coordinator hostname solution
---------

Co-authored-by: Ante Javor <[email protected]>
  • Loading branch information
as51340 and antejavor authored Jul 4, 2024
1 parent 3be59bb commit 5b04a1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/memgraph-high-availability/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: memgraph-high-availability
description: A Helm chart for Kubernetes with Memgraph High availabiliy capabilites

version: 0.1.0
version: 0.1.1
appVersion: "2.17.0"

type: application
Expand Down
2 changes: 2 additions & 0 deletions charts/memgraph-high-availability/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ If you are connecting via mgconsole, you can use the following command:
mgconsole --host <your-instance-ip> --port <your-instance-port>

If you are connecting via Lab, specify your instance IP address and port in Memgraph Lab GUI.

If you are using minikube, you can find out your instance ip using `minikube ip`.
8 changes: 4 additions & 4 deletions charts/memgraph-high-availability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
memgraph:
image:
repository: memgraph/memgraph
tag: 2.17.0
tag: 2.18.0
pullPolicy: IfNotPresent
env:
MEMGRAPH_ENTERPRISE_LICENSE: "<your-license>"
Expand Down Expand Up @@ -75,7 +75,7 @@ coordinators:
- "--bolt-port=7687"
- "--also-log-to-stderr"
- "--log-level=TRACE"
- "--replication-restore-state-on-startup=true"
- "--coordinator-hostname=memgraph-coordinator-1.default.svc.cluster.local"
- id: "2"
boltPort: 7687
coordinatorPort: 12000
Expand All @@ -86,7 +86,7 @@ coordinators:
- "--bolt-port=7687"
- "--also-log-to-stderr"
- "--log-level=TRACE"
- "--replication-restore-state-on-startup=true"
- "--coordinator-hostname=memgraph-coordinator-2.default.svc.cluster.local"
- id: "3"
boltPort: 7687
coordinatorPort: 12000
Expand All @@ -97,4 +97,4 @@ coordinators:
- "--bolt-port=7687"
- "--also-log-to-stderr"
- "--log-level=TRACE"
- "--replication-restore-state-on-startup=true"
- "--coordinator-hostname=memgraph-coordinator-3.default.svc.cluster.local"

0 comments on commit 5b04a1d

Please sign in to comment.