cloudlane-one / k8s-cloud

🌐💻☁️ Production-ready, provider-independent & easily manageable k8s cloud setup for self-hosting
MIT License
4 stars 0 forks source link

Find workaround for enforcing volume `nodeSelector` on share manager or make upstream feature PR #115

Closed lorenzo-w closed 5 months ago

lorenzo-w commented 1 year ago

Longhorn seems to randomly pick a node to run the NFS share manager pod, potentially violating the volume's nodeSelector and running it on a badly connected node. A new feature to remedy this has already been requested upstream, but currently receives little attention.

lorenzo-w commented 12 months ago

Most viable workaround:

Create a helm chart with the following:

Then use this chart to manually provision a RWX volume for every workload, which requires it.

lorenzo-w commented 12 months ago

Alternatives:

lorenzo-w commented 5 months ago

Seems to be solved upstream: https://github.com/longhorn/longhorn/issues/7872#issuecomment-2136729472