https://rancher.com/ logo
#longhorn-storage
Title
# longhorn-storage
b

big-oxygen-89163

05/23/2023, 5:46 AM
how to add a new node with longhorn? - I would love a longhorn cheatsheet with basic management tasks like: adding/removing a node,disk(s)
n

narrow-egg-98197

05/23/2023, 6:32 AM
Hi, I think you can scale the new node to the cluster and configure it like tags and default disk as per here.
b

big-oxygen-89163

05/23/2023, 6:57 AM
ok so these labels are on the nodes correct? - I see no longhorn labels on my current nodes?
Untitled
s

sparse-fireman-14239

05/23/2023, 7:32 AM
You have to add the labels, otherwise Longhorn will use all available nodes, at least during initial deployment.
b

big-oxygen-89163

05/23/2023, 8:06 AM
yes but I would exspect labels to be there on current installation - installed by HELM and I see it is running - so just don’t understand no labels are present now?
Untitled
helm install did not deploy to my k8s controller
by default
f

faint-sunset-36608

05/23/2023, 2:20 PM
The helm install is not supposed to add any labels. In its default configuration, helm will create a default disk on all nodes in the root file system. If that is not the behavior you want, you can create nodes with labels that instruct helm to do something different as described in the document @narrow-egg-98197 linked. Additionally, the Longhorn DaemonSets do not deploy to Kubernetes master nodes by default, as they can't tolerate the
<http://node-role.kubernetes.io/master|node-role.kubernetes.io/master>: NoSchedule
taint. To change this behavior, see https://longhorn.io/docs/1.4.2/advanced-resources/deploy/taint-toleration/#setting-up-taints-and-tolerations-during-installing-longhorn.
b

big-oxygen-89163

05/24/2023, 12:26 PM
Thank you, I will dig more into it 🙂
373 Views