forked from ozzyjohnson/docker-boinc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
boinc-rc.yml
40 lines (36 loc) · 1.09 KB
/
boinc-rc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
### Running Boinc on Kubernetes
#
# This is the replication controller yaml file
# for strating up some boinc worker nodes in
# kubernetes.
#
# Find out more about boinc here: https://boinc.berkeley.edu/
#
# To use this, please:
#
# 1) Make sure you have a kubernetes cluster somewhere
# 2) create an account at www.worldcommunitygrid.org and grab the and create yourself an acocunt.
# 3) Grab the 'account key' from the settings/my profile UI path and insert the key below.
# 4) Spin up some boinc works in your k8 clusters by running something like:
# -- > kubectl create -f boince-rc.yml
#
apiVersion: v1
kind: ReplicationController
metadata:
name: boinc-workers
spec:
selector:
name: boinc-workers
version: v1
template:
metadata:
labels:
name: boinc-workers
version: v1
priority: charity
spec:
containers:
- image: ckleban/boinc-on-k8
name: boinc-workers
#args: ["-attach_project", <BoincProjectServer>, <Account Key>]
args: ["-attach_project", "www.worldcommunitygrid.org", "828bcd757c0d4eb55ef2cd560a306db0"]