folding-at-home

by Helm

Helm chartv0.1.1App 7.5.1

Donate compute for medical research and help cure diseases

About this chart

Folding@home Helm Chart

Folding@home is a distributed computing project for performing molecular dynamics simulations of protein dynamics. This chart allows you to easily deploy Folding@home client in a K8s cluster to donate unused compute to medical research.

This chart is loosely based off of Rick Stoke's k8s-fah repository. It supports CPU workloads only at this time.

Installing the Chart

# Make sure you've added this repo to helm
helm repo add brannon https://helm.brannon.online
# "username", "team", and "passkey" values are all optional.
# Omitting them causes Folding@home to submit work anonymously.
helm upgrade --install fah1 \
  --set username="Your Username" \
  --set team="11111" \
  --set passkey="somethingsecret" \
  brannon/folding-at-home

Uninstalling the chart

To uninstall/delete the fah deployment:

helm delete fah

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

The following table lists the configurable parameters for this chart and their default values.

ParameterDescriptionDefault
replicaCountThe number of unique FAHClient instances you'd like to run1
usernameThe Folding@home username you'd like to associate work with (optional)""
teamThe Folding@home team you'd like to associate work with (optional)""
passkeyYour passkey value which can be used to prevent other donors from impersonating you (optional, this must be created ahead of time on the Folding@home website.)""
image.repositoryThe Folding@home Docker imagebrannondorsey/fah
image.pullPolicyImage pull policyIfNotPresent
resourcesCPU/Memory resource requests/limits for each Folding@home replica. It is HIGHLY recommended that you set resource limits as Folding@home is CPU hungry!{}
nodeSelectorNode labels for pod assignment{}
tolerationsToleration labels for pod assignment[]
affinityAffinity settings for pod assignment{}

Deploy folding-at-home with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has folding-at-home on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfolding-at-home is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply