great-photographer-94826
10/10/2022, 1:48 PM/dev/longhorn
Is there a way to change this path? I didn't find any arg in Helm chart vaules file (https://github.com/longhorn/charts/blob/master/charts/longhorn/values.yaml).late-needle-80860
10/10/2022, 2:03 PMKubernetes
cluster that you wish to use for persistent
storage needing workloads?create-default-disk=config
label on these nodes you can annotate those same nodes with default-disks-config
and that JSON
data can be used to configure the exact path on the nodes whereon the data should be stored …
Making the path same no matter the type.default-disks-config
JSON
data …great-photographer-94826
10/10/2022, 2:33 PM<http://node.longhorn.io/create-default-disk|node.longhorn.io/create-default-disk>: "true"
I installed the Longhorn component with the default settings. I didn't set any annotations e.g. <http://node.longhorn.io/default-disks-config|node.longhorn.io/default-disks-config>
.
Am I wrong in thinking that the default-disks-config
parameter would be the same as the defaultSettings.defaultDataPath
parameter?
For example
labels:
<http://node.longhorn.io/create-default-disk|node.longhorn.io/create-default-disk>: "config"
},
annotations:
<http://node.longhorn.io/default-disks-config|node.longhorn.io/default-disks-config>: '[{"path":"/var/lib/longhorn","allowScheduling":false}]'
late-needle-80860
10/14/2022, 7:54 PM