Hi all. I ma using k3s with longhorn and I wonder ...
# longhorn-storage
b
Hi all. I ma using k3s with longhorn and I wonder how can I setup some nodes to not to be in longhorn cluster but only in the k3s cluster? any hint? cheers
c
You could add nodeselector labels to your nodes that you want longhorn deployed on. Then setup longhorn to deploy to nodes with that label
💡 1
b
Thanks @creamy-crayon-86622. Actually I did that but still 2 pods are still trying to start on that node engine-image-ei-04c05bf8-chqlv longhorn-csi-plugin-9498t and not sure why. I configure 2 nodeselector. one for storage and the other one for the UI.
c
What errors do you see on the pods?
b
the CSI says Defaulted container "node-driver-registrar" out of: node-driver-registrar, longhorn-liveness-probe, longhorn-csi-plugin
engine-image-ei-04c05bf8-chqlv 0/1 CrashLoopBackOff longhorn-csi-plugin-9498t 2/3 CrashLoopBackOff
so it seems that the node-driver-registrar is having issues out of 3 containers in the pod
b
i went through this: I have 3 nodeSelectors that i add to the config, and i still get some pods on my diskless raspberry pis 😞 But, they don't overwhelm the pis like an unfiltered LH setup did. Apparently I still have some engine-image and lh-csi-plugin too, but they're not crashing
b
Thanks @billowy-needle-49036 so there is no solution to this? that's weird.... anyone else?
b
It does seem incomplete, yes