richstokes/k8s-folding-at-home

Add DaemonSet as second deployment option

Closed this issue · 2 comments

In order to fully utilize a cluster without the need to scale a deployment (manually) I would suggest to add the option of a deployment via DaemonSet. This would run FaH on all nodes on the cluster.

I'm currently setting up my Raspberry Pi experimental cluster and will implement and test this addition.
Edit: Just figured out, that FaH will not run on ARM. So I have (at the moment) no cluster available for testing and implementing.

Ideas so far:

  • selection of nodes via nodeSelector
  • sane default resource limits to not over-utilize a cluster

Thanks for the suggestions @fahlke -- just added a DaemonSet option and updated the README with instructions.

I feel like the default resource limit (1 CPU core) is pretty sane and easy to adjust as needed.

It may be worth pinging the folding guys and seeing if there's a build for ARM on the cards.

LGTM (sadly, as said, I cannot test right now)

Will give a brief update here, if I can get my fingers on a cluster for testing.