-
Notifications
You must be signed in to change notification settings - Fork 221
/
cluster.yaml
190 lines (178 loc) · 3.72 KB
/
cluster.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
name: fate-9999
namespace: fate-9999
chartName: fate
chartVersion: v2.0.0
partyId: 9999
registry: ""
pullPolicy:
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
ingressClassName: nginx
modules:
- osx
- clustermanager
- nodemanager
- mysql
- python
- fateboard
- client
# Computing : Eggroll, Spark, Spark_local
computing: Eggroll
# Federation: OSX(computing: Eggroll), Pulsar/RabbitMQ(computing: Spark/Spark_local)
federation: OSX
# Storage: Eggroll(computing: Eggroll), HDFS(computing: Spark), LocalFS(computing: Spark_local)
storage: Eggroll
# Algorithm: Basic, NN, ALL
algorithm: Basic
# Device: CPU, IPCL GPU
device: CPU
# you can customize some keys which will be ignored in yaml validation
skippedKeys:
- route_table
# Specify domain name for service
# ingress:
# fateboard:
# hosts:
# - name: party9999.fateboard.example.com
# client:
# hosts:
# - name: party9999.notebook.example.com
# spark:
# hosts:
# - name: party9999.spark.example.com
# rabbitmq:
# hosts:
# - name: party9999.rabbitmq.example.com
# pulsar:
# hosts:
# - name: party9999.pulsar.example.com
# Specify rollsite properties
# osx:
# type: NodePort
# nodePort: 30091
# loadBalancerIP:
# exchange:
# ip: 192.168.0.1
# port: 30000
# partyList:
# - partyId: 10000
# partyIp: 192.168.0.1
# partyPort: 30101
# nodeSelector:
# tolerations:
# affinity:
# polling:
# enabled: true
# type: server
# # server:
# # ip: 192.168.100.1
# # port: 9370
# clientList:
# - partID: 9999
# concurrency: 49
# resources:
# requests:
# cpu: "1"
# memory: "1Gi"
# limits:
# cpu: "4"
# memory: "1Gi"
# Specify clustermanager properties
# clustermanager:
# nodeSelector:
# tolerations:
# affinity:
# resources:
# requests:
# cpu: "1"
# memory: "1Gi"
# limits:
# cpu: "1"
# memory: "1Gi"
# Specify nodemanager properties
# nodemanager:
# replicas: 2
# sessionProcessorsPerNode: 4
# nodeSelector:
# tolerations:
# affinity:
# subPath: "nodemanager"
# storageClass: "local-scsi"
# accessMode: ReadWriteOnce
# size: 1Gi
# resources:
# requests:
# cpu: "2"
# memory: "4Gi"
# limits:
# cpu: "4"
# memory: "8Gi"
# Specify the fateflow service's properties
# python:
# type: NodePort
# httpNodePort: 30097
# grpcNodePort: 30092
# loadBalancerIP:
# serviceAccountName: ""
# nodeSelector:
# tolerations:
# affinity:
# logLevel: INFO
# existingClaim: ""
# storageClass: "python"
# accessMode: ReadWriteMany
# size: 1Gi
# resources:
# requests:
# cpu: "2"
# memory: "4Gi"
# nvidia.com/gpu: 1
# limits:
# cpu: "4"
# memory: "8Gi"
# nvidia.com/gpu: 1
# clustermanager:
# cores_per_node: 16
# nodes: 2
# Specify the fateboard service's properties
# fateboard:
# type: ClusterIP
# username: admin
# password: admin
# Specify the client service's properties
# client:
# nodeSelector:
# subPath: ""
# existingClaim: ""
# storageClass: "client"
# accessMode: ReadWriteOnce
# size: 1Gi
# Specify the mysql properties
# mysql:
# nodeSelector:
# tolerations:
# affinity:
# ip: mysql
# port: 3306
# database: eggroll_meta
# user: fate
# password: fate_dev
# subPath: ""
# existingClaim: ""
# storageClass: "mysql"
# accessMode: ReadWriteOnce
# size: 1Gi
# #
# #externalMysqlIp: mysql
# #externalMysqlPort: 3306
# #externalMysqlDatabase: eggroll_meta
# #externalMysqlUser: fate
# #externalMysqlPassword: fate_dev
# Specify serving configuration
# servingIp: 192.168.0.1
# servingPort: 30095