Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pages/clustering/high-availability/setup-ha-cluster-k8s.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,29 @@ In this example, each data instance's external Service gets the shared
hostname. Bolt and management ports are not set per-instance — they come from
`ports.boltPort` and `ports.managementPort`.

{<h4 className="custom-header"> Per-instance internal access annotations </h4>}

Each data instance and coordinator also has an internal ClusterIP Service used
for in-cluster communication. You can set per-instance annotations on these
internal Services using the `internalAccessAnnotations` field on individual
entries in `data[]` or `coordinators[]`. This is useful for integrations or other tooling that consumes annotations on the internal
Services.

```yaml
data:
- id: "0"
internalAccessAnnotations:
mycompany.io/service-mesh: "enabled"
- id: "1"
internalAccessAnnotations:
mycompany.io/service-mesh: "enabled"

coordinators:
- id: "1"
internalAccessAnnotations:
mycompany.io/service-mesh: "enabled"
```

### Node affinity

Memgraph HA deploys multiple pods, and you can control pod placement with
Expand Down Expand Up @@ -1128,6 +1151,7 @@ following parameters:
| Parameter | Description | Default |
|---------------------------------------------|-----------------------------------------------------------------------------------------------------|-----------------------------------------|
| `id` | ID of the instance | `0` for data, `1` for coordinators |
| `internalAccessAnnotations` | Per-instance annotations for the internal ClusterIP Service. | `{}` |
| `externalAccessAnnotations` | Per-instance annotations for the external access Service, merged with global annotations. | `{}` |
| `args` | Per-instance Memgraph CLI flags. Append-only — see the note below for flags the chart manages. | `["--storage-snapshot-on-exit=false"]` for data, `[]` for coordinators |

Expand Down