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 uses wrong settings and MEMGRAPH env vars not propagated correctly #81

Open
gitbuda opened this issue Nov 22, 2023 · 1 comment
Labels
bug bug Effort - Unknown Effort - Unknown Importance - I1 Importance - I1 Severity - S2 Severity - S2

Comments

@gitbuda
Copy link
Member

gitbuda commented Nov 22, 2023

  memgraph:
    image: "memgraph/memgraph-platform:latest"
    hostname:
      memgraph
    ports:
      - "7687:7687"
      - "3000:3000"
      - "7444:7444"
    volumes:
      - mg_lib:/var/lib/memgraph
      - mg_log:/var/log/memgraph
      - mg_etc:/etc/memgraph
    environment:
      - MEMGRAPH="--log-level=TRACE"

Not the same as above under k8s (minikube):

apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: kompose convert
    kompose.version: 1.31.2 (HEAD)
  creationTimestamp: null
  labels:
    io.kompose.service: memgraph
  name: memgraph
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: memgraph
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        kompose.cmd: kompose convert
        kompose.version: 1.31.2 (HEAD)
      creationTimestamp: null
      labels:
        io.kompose.network/hydrogen-default: "true"
        io.kompose.service: memgraph
    spec:
      containers:
        - env:
            - name: MEMGRAPH
              value: '"--log-level=TRACE --storage-properties-on-edges=true"'
          image: memgraph/memgraph-platform:latest
          name: memgraph
          ports:
            - containerPort: 7687
              hostPort: 7687
              protocol: TCP
            - containerPort: 3000
              hostPort: 3000
              protocol: TCP
            - containerPort: 7444
              hostPort: 7444
              protocol: TCP
          resources: {}
          volumeMounts:
            - mountPath: /var/lib/memgraph
              name: mg-lib
            - mountPath: /var/log/memgraph
              name: mg-log
            - mountPath: /etc/memgraph
              name: mg-etc
      hostname: memgraph
      restartPolicy: Always
      volumes:
        - name: mg-lib
          persistentVolumeClaim:
            claimName: mg-lib
        - name: mg-log
          persistentVolumeClaim:
            claimName: mg-log
        - name: mg-etc
          persistentVolumeClaim:
            claimName: mg-etc
status: {}
@gitbuda gitbuda added Severity - S2 Severity - S2 Effort - Unknown Effort - Unknown Importance - I1 Importance - I1 bug bug labels Nov 22, 2023
@katarinasupe
Copy link
Contributor

This should be checked and tested with the new setup of Memgraph Platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug Effort - Unknown Effort - Unknown Importance - I1 Importance - I1 Severity - S2 Severity - S2
Projects
None yet
Development

No branches or pull requests

2 participants