helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Support tmpfs for /cache dir on vmselect

Open matej-bellus-w opened this issue 2 years ago • 1 comments

Currently when I tried to set tmpfs like this via values.yml

  extraVolumes:
    - name: cache-tmpfs
      emptyDir:
        medium: "Memory"
        sizeLimit: 50Mi

  extraVolumeMounts:
    - name: cache-tmpfs
      mountPath: /cache

  cacheMountPath: /cache

It says: spec.template.spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/cache": must be unique

This is the line.

matej-bellus-w avatar Feb 07 '23 19:02 matej-bellus-w