Hi, my Longhorn deployment won't use the default d...
# longhorn-storage
p
Hi, my Longhorn deployment won't use the default data path, this is my
longhorn default settings
configmap as you can see I have set
default-data-path: /mnt/data
But from the UI I still see
/var/lib/longhorn/
as the default data path. Any idea what is going wrong here?
Copy code
$ kubectl describe configmap/longhorn-default-setting -n longhorn-system
Name:         longhorn-default-setting
Namespace:    longhorn-system
Labels:       <http://app.kubernetes.io/instance=longhorn|app.kubernetes.io/instance=longhorn>
              <http://app.kubernetes.io/name=longhorn|app.kubernetes.io/name=longhorn>
              <http://app.kubernetes.io/version=v1.6.2|app.kubernetes.io/version=v1.6.2>
Annotations:  <none>

Data
====
default-setting.yaml:
----
priority-class: longhorn-critical
default-replica-count: 2
create-default-disk-labeled-nodes: true
default-data-path: /mnt/data
systemManagedComponentsNodeSelector: "storage:longhorn"

BinaryData
====
1
Found it! i had a key like
systemManagedComponentsNodeSelector: "storage:longhorn"
in de configmap and thats the key used in de values.yaml for helm. I had to use
system-managed-components-node-selector: "storage:longhorn"
1