memgraph-lab
by Memgraph
Memgraph Lab Helm Chart
About this chart
Memgraph Lab Kubernetes Helm Chart
A Helm Chart for deploying Memgraph Lab on Kubernetes.
Installing the Memgraph Lab Helm Chart
To install the Memgraph Lab Helm Chart, follow the steps below:
helm install <release-name> memgraph/memgraph-lab
Replace <release-name> with a name of your choice for the release.
Changing the default chart values
To change the default chart values, run the command with the specified set of flags:
helm install <release-name> memgraph/memgraph-lab --set <flag1>=<value1>,<flag2>=<value2>,...
Or you can modify a values.yaml file and override the desired values:
helm install <release-name> memgraph/memgraph-lab -f values.yaml
Configuration Options
The following table lists the configurable parameters of the Memgraph Lab chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Memgraph Lab Docker image repository | docker.io/memgraph/lab |
image.tag | Specific tag for the Memgraph Lab Docker image. Overrides the image tag whose default is chart version. | "" (Defaults to chart's app version) |
image.pullPolicy | Image pull policy | IfNotPresent |
replicaCount | Number of Memgraph Lab instances to run. | 1 |
service.type | Kubernetes service type | ClusterIP |
service.port | Kubernetes service port | 3000 |
service.targetPort | Kubernetes service target port | 3000 |
service.protocol | Protocol used by the service | TCP |
service.annotations | Annotations to add to the service | {} |
podAnnotations | Annotations to add to the pod | {} |
resources | CPU/Memory resource requests/limits. Left empty by default. | {} (See note on uncommenting) |
serviceAccount.create | Specifies whether a service account should be created | true |
serviceAccount.annotations | Annotations to add to the service account | {} |
serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated. | "" |
secrets.enabled | Enable the use of Kubernetes secrets. Will be injected as env variables. | false |
secrets.name | The name of the Kubernetes secret that will be used. | memgraph-secrets |
secrets.keys | Keys from the secrets.name that will be stored as env variables inside the pod. | [] |
Memgraph Lab can be further configured with environment variables in your values.yaml file.
env:
- name: QUICK_CONNECT_MG_HOST
value: memgraph
- name: QUICK_CONNECT_MG_PORT
value: "7687"
- name: BASE_PATH
value: /
- name: KEEP_ALIVE_TIMEOUT_MS
value: "0"
Refer to the Memgraph Lab documentation for details on how to connect to and interact with Memgraph.
Deploy memgraph-lab with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has memgraph-lab on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmemgraph-lab is pinned at v1.0.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply