prehistoric-judge-25958
06/07/2024, 1:25 PMlonghorn 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?
$ 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
====
prehistoric-judge-25958
06/07/2024, 6:43 PMsystemManagedComponentsNodeSelector: "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"