longhorn nodeselector doku

This commit is contained in:
baschno
2025-08-21 21:07:31 +02:00
parent efcb4ee172
commit 7896130d05

View File

@@ -8,11 +8,12 @@ Zuerst solltest du sicherstellen, dass Longhorn auf deinem Cluster installiert i
#### Node Labeling
In the case not all nodes should provide disk
In the case not all nodes should provide disk, e.g. certain nodes have special/fast disks.
In this case the StorageClass needs to be adapted and added with a nodeselector [1].
```
k label nodes k3s-prod-worker-{1..3} node.longhorn.io/create-default-disk=true
```
[1] https://longhorn.io/kb/tip-only-use-storage-on-a-set-of-nodes/
#### Mit Helm: