forked from kubeflow/fate-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app_v1beta1_fatecluster.yaml
176 lines (168 loc) · 3.96 KB
/
app_v1beta1_fatecluster.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
apiVersion: app.kubefate.net/v1beta1
kind: FateCluster
metadata:
name: fatecluster-sample
namespace: fate-9999
spec:
kubefate:
name: kubefate-sample
namespace: kube-fate
clusterSpec:
name: fate-9999
namespace: fate-9999
chartName: fate
chartVersion: v1.5.1
partyId: 9999
registry: ""
imageTag: ""
pullPolicy: ""
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
modules:
- rollsite
- clustermanager
- nodemanager
- mysql
- python
- fateboard
- client
backend: eggroll
host:
fateboard: 9999.fateboard.kubefate.net
client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
rollsite:
type: NodePort
nodePort: 30091
exchange:
ip: 192.168.0.1
port: 30000
partyList:
- partyId: 10000
partyIp: 192.168.0.1
partyPort: 30101
nodeSelector: {}
# lbrollsite:
# type: NodePort
# nodePort: 30091
# size: "2M"
# exchangeList:
# - id: 9991
# ip: 192.168.0.1
# port: 30910
# nodeSelector:
nodemanager:
count: 3
sessionProcessorsPerNode: 4
# storageClass: "nodemanagers"
# accessMode: ReadWriteOnce
# size: 2Gi
list:
- name: nodemanager
nodeSelector: {}
sessionProcessorsPerNode: 2
subPath: "nodemanager"
existingClaim: ""
storageClass: "nodemanager"
accessMode: ReadWriteOnce
size: 1Gi
python:
type: NodePort
httpNodePort: 30097
grpcNodePort: 30092
nodeSelector: {}
enabledNN: false
# spark:
# master: spark://spark-master:7077
# home:
# cores_per_node: 20
# nodes: 2
# hdfs:
# name_node: hdfs://namenode:9000
# path_prefix:
# rabbitmq:
# host: rabbitmq
# mng_port: 15672
# port: 5672
# user: fate
# password: fate
# # default conf/rabbitmq_route_table.yaml
# route_table:
# nginx:
# host: nginx
# http_port: 9300
# grpc_port: 9310
mysql:
nodeSelector: {}
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
servingIp: 192.168.9.1
servingPort: 30209
# spark:
# master:
# Image: "federatedai/spark-master"
# ImageTag: "1.5.0-release"
# replicas: 1
# cpu: "100m"
# memory: "512Mi"
# nodeSelector:
# type: ClusterIP
# worker:
# Image: "federatedai/spark-worker"
# ImageTag: "1.5.0-release"
# replicas: 2
# cpu: "1000m"
# memory: "512Mi"
# nodeSelector:
# type: ClusterIP
# hdfs:
# namenode:
# nodeSelector:
# type: ClusterIP
# datanode:
# nodeSelector:
# type: ClusterIP
# nginx:
# nodeSelector:
# type: ClusterIP
# httpNodePort: 30093
# grpcNodePort: 30098
# route_table:
# 10000:
# proxy:
# - host: 192.168.0.1
# http_port: 30103
# grpc_port: 30108
# fateflow:
# - host: 192.168.0.1
# http_port: 30107
# grpc_port: 30102
# rabbitmq:
# nodeSelector:
# type: ClusterIP
# nodePort: 30094
# default_user: fate
# default_pass: fate
# user: fate
# password: fate
# route_table:
# 10000:
# host: 192.168.0.1
# port: 30104