forked from kubeflow/fate-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app_v1beta1_fatejob.yaml
62 lines (61 loc) · 1.21 KB
/
app_v1beta1_fatejob.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: app.kubefate.net/v1beta1
kind: FateJob
metadata:
name: fatejob-sample
namespace: fatejob-sample
spec:
# Add fields here
image: "federatedai/job:1.5.1-release"
fateClusterRef:
name: fatecluster-sample
namespace: fate-9999
kind: FateCluster
jobConf:
pipeline: |-
{
"components": {
"secure_add_example_0": {
"module": "SecureAddExample"
}
}
}
modulesConf: |-
{
"initiator": {
"role": "guest",
"party_id": 9999
},
"job_parameters": {
"work_mode": 1
},
"role": {
"guest": [
9999
],
"host": [
9999
]
},
"role_parameters": {
"guest": {
"secure_add_example_0": {
"seed": [
123
]
}
},
"host": {
"secure_add_example_0": {
"seed": [
321
]
}
}
},
"algorithm_parameters": {
"secure_add_example_0": {
"partition": 10,
"data_num": 1000
}
}
}