memgraph-lab

by Memgraph

Helm chartv1.0.6App 3.14.1Verified publisher

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.

ParameterDescriptionDefault
image.repositoryMemgraph Lab Docker image repositorydocker.io/memgraph/lab
image.tagSpecific tag for the Memgraph Lab Docker image. Overrides the image tag whose default is chart version."" (Defaults to chart's app version)
image.pullPolicyImage pull policyIfNotPresent
replicaCountNumber of Memgraph Lab instances to run.1
service.typeKubernetes service typeClusterIP
service.portKubernetes service port3000
service.targetPortKubernetes service target port3000
service.protocolProtocol used by the serviceTCP
service.annotationsAnnotations to add to the service{}
podAnnotationsAnnotations to add to the pod{}
resourcesCPU/Memory resource requests/limits. Left empty by default.{} (See note on uncommenting)
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameThe name of the service account to use. If not set and create is true, a name is generated.""
secrets.enabledEnable the use of Kubernetes secrets. Will be injected as env variables.false
secrets.nameThe name of the Kubernetes secret that will be used.memgraph-secrets
secrets.keysKeys 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmemgraph-lab is pinned at v1.0.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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