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

[Memgraph-2.19 < Helm chart updates] Add configs and notes #960

Merged
merged 3 commits into from
Aug 13, 2024
Merged
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
15 changes: 10 additions & 5 deletions pages/getting-started/install-memgraph/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ are:

- [**Helm chart for standalone Memgraph**](#helm-chart-for-standalone-memgraph)
- [**Helm chart for Memgraph high availability
cluster**](#helm-chart-for-memgraph-high-availability-cluster)
cluster**](#helm-chart-for-memgraph-high-availability-cluster) (Enterprise)

There is also support for deploying Memgraph Lab on Kubernetes:

Expand Down Expand Up @@ -91,6 +91,8 @@ their default values.
| `replicaCount` | Number of Memgraph instances to run. Note: no replication or HA support. | `1` |
| `affinity.nodeKey` | Key for node affinity (Preferred) | `""` |
| `affinity.nodeValue` | Value for node affinity (Preferred) | `""` |
| `nodeSelector` | Constrain which nodes your Memgraph pod is eligible to be scheduled on, based on the labels on the nodes. Left empty by default. | `{}` |
| `tolerations` | A toleration is applied to a pod and allows the pod to be scheduled on nodes with matching taints. Left empty by default. | `[]` |
| `service.type` | Kubernetes service type | `ClusterIP` |
| `service.enableBolt` | Enable Bolt protocol | `true` |
| `service.boltPort` | Bolt protocol port | `7687` |
Expand All @@ -111,8 +113,10 @@ their default values.
| `persistentVolumeClaim.logStorageClassName` | Storage class name for the persistent volume claim for logs | `""` |
| `persistentVolumeClaim.logStorageSize` | Size of the persistent volume claim for logs | `1Gi` |
| `memgraphConfig` | List of strings defining Memgraph configuration settings | `["--also-log-to-stderr=true"]` |
| `memgraphUser` | User for the Memgraph database | `""` |
| `memgraphPassword` | Password for the Memgraph database | `""` |
| `secrets.enabled` | Enable the use of Kubernetes secrets for Memgraph credentials | `false` |
| `secrets.name` | The name of the Kubernetes secret containing Memgraph credentials | `memgraph-secrets` |
| `secrets.userKey` | The key in the Kubernetes secret for the Memgraph user, the value is passed to the `MEMGRAPH_USER` env | `USER` |
| `secrets.passwordKey` | The key in the Kubernetes secret for the Memgraph password, the value is passed to the `MEMGRAPH_PASSWORD` | `PASSWORD` |
| `memgraphEnterpriseLicense` | Memgraph Enterprise License | `""` |
| `memgraphOrganizationName` | Organization name for Memgraph Enterprise License | `""` |
| `statefulSetAnnotations` | Annotations to add to the stateful set | `{}` |
Expand Down Expand Up @@ -175,10 +179,10 @@ Docker image. Currently, Memgraph must have root privileges on the volumes.

</Callout>

## Helm chart for Memgraph high availability cluster
## Helm chart for Memgraph high availability cluster (Enterprise)

A Helm Chart for deploying Memgraph in [high availability
setup](https://memgraph.com/docs/clustering/high-availability).
setup](https://memgraph.com/docs/clustering/high-availability). This helm chart requires an enterprise version of Memgraph.

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
Expand Down Expand Up @@ -233,6 +237,7 @@ their default values.
| `memgraph.coordinators.volumeClaim.storagePVCSize` | Size of the storage PVC for coordinators | `1Gi` |
| `memgraph.coordinators.volumeClaim.logPVC` | Enable log PVC for coordinators | `false` |
| `memgraph.coordinators.volumeClaim.logPVCSize` | Size of the log PVC for coordinators | `256Mi` |
| `memgraph.affinity.enabled` | Each pod and instance is deployed to unique node in the cluster | `true` |
| `data` | Configuration for data instances | See `data` section |
| `coordinators` | Configuration for coordinator instances | See `coordinators` section |

Expand Down