This message was deleted.
# longhorn-storage
a
This message was deleted.
l
How did you bootstrap ( AKA the disk configuration ) of the nodes in your
Kubernetes
cluster that you wish to use for
persistent
storage needing workloads?
Because by e.g. setting the
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.
Of course you need to somehow bootstrap the path you specify in the
default-disks-config
JSON
data …
g
One tag related to the Longhorn component has been set on the storage nodes:
<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
Copy code
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}]'
l
Hmm yes I think you are. The longhorn docs explains this pretty well.