How to configure disk for volumes for Longhorn

2k Views Asked by At

How to configure disk for volumes for Longhorn during installation? Not in GUI please!

I have a couple of Kubernetes nodes with large disks. Disk is mounted at /var/lib/data/

How to configure Longhorn at installation to use this /var/lib/data/ only?

I tried to use helm chart with values.yml like this. It does not work. Volumes are placed at /var/lib/longhorn/

defaultSettings:
  defaultDataPath: /var/lib/data/
0

There are 0 best solutions below