kvaps / kube-linstor

Containerized LINSTOR SDS for Kubernetes, ready for production use.
Apache License 2.0
130 stars 25 forks source link

Prevent from running on Master nodes #11

Closed lsadehaan closed 4 years ago

lsadehaan commented 4 years ago

Great project! I am deploying linstor for the first time and I think I've reached almost the finish line, but now the "satellite" workload is being deployed onto all of my node's - but I only want to use the storage on my worker nodes, so I only configured them with storage. Now the Satellite workload is failing on my "master" nodes. Should it be running on the master nodes? and if not, how do I make it not run there?

kvaps commented 4 years ago

Hi, sorry, I somehow did not notice about this issue.

the "satellite" workload is being deployed onto all of my node's

This is because tolerations. Default example yamls are containing tolerations to allow run satelites on master nodes, you can configure any tolerations in your values.yaml

https://github.com/kvaps/kube-linstor/blob/c8d9f624df5d4525fe4d29d6851e944fc68d34dc/examples/linstor.yaml#L17-L22

or replace them to tolerations: [] if you don't need any

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.