Skip to content

Commit

Permalink
update examples for KubeFATE of v1.6.0-a (#425)
Browse files Browse the repository at this point in the history
Signed-off-by: ChenLong Ma <[email protected]>
  • Loading branch information
owlet42 authored Jun 1, 2021
1 parent 5b387e2 commit ffd3a72
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 18 deletions.
2 changes: 1 addition & 1 deletion k8s-deploy/cluster-serving.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ partyId: 9999
registry: ""
imageTag: ""
pullPolicy:
persistence: false
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
Expand Down
11 changes: 11 additions & 0 deletions k8s-deploy/cluster-spark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ partyId: 9999
registry: ""
imageTag: ""
pullPolicy:
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
# - rollsite
# - clustermanager
Expand All @@ -24,6 +28,13 @@ modules:

backend: spark

# host:
# fateboard: 9999.fateboard.kubefate.net
# client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
# pulsarUI: 9999.pulsar.kubefate.net

# rollsite:
# type: NodePort
# nodePort: 30091
Expand Down
3 changes: 3 additions & 0 deletions k8s-deploy/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- rollsite
- clustermanager
Expand All @@ -31,6 +33,7 @@ backend: eggroll
# client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
# pulsarUI: 9999.pulsar.kubefate.net

# rollsite:
# type: NodePort
Expand Down
7 changes: 6 additions & 1 deletion k8s-deploy/examples/party-10000/cluster-serving.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: fate-serving-10000
namespace: fate-serving-10000
chartName: fate-serving
chartVersion: v2.0.0
chartVersion: v2.0.4
partyId: 10000
registry: ""
imageTag: ""
pullPolicy:
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- servingProxy
- servingRedis
Expand Down
16 changes: 9 additions & 7 deletions k8s-deploy/examples/party-10000/cluster-spark-pulsar.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-10000
namespace: fate-10000
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 10000
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- python
- mysql
Expand All @@ -23,12 +25,12 @@ modules:

backend: spark

host:
fateboard: 10000.fateboard.vmware.com
client: 10000.notebook.vmware.com
sparkUI: 10000.spark.vmware.com
rabbitmqUI: 10000.rabbitmq.vmware.com
pulsarUI: 10000.pulsar.vmware.com
# host:
# fateboard: 10000.fateboard.kubefate.net
# client: 10000.notebook.kubefate.net
# sparkUI: 10000.spark.kubefate.net
# rabbitmqUI: 10000.rabbitmq.kubefate.net
# pulsarUI: 10000.pulsar.kubefate.net

python:
type: NodePort
Expand Down
13 changes: 11 additions & 2 deletions k8s-deploy/examples/party-10000/cluster-spark.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: fate-10000
namespace: fate-10000
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 10000
registry: ""
imageTag: ""
imageTag: "1.6.0-release"
pullPolicy:
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- python
- mysql
Expand All @@ -23,6 +25,13 @@ modules:

backend: spark

# host:
# fateboard: 10000.fateboard.kubefate.net
# client: 10000.notebook.kubefate.net
# sparkUI: 10000.spark.kubefate.net
# rabbitmqUI: 10000.rabbitmq.kubefate.net
# pulsarUI: 10000.pulsar.kubefate.net

python:
type: NodePort
httpNodePort: 30107
Expand Down
11 changes: 10 additions & 1 deletion k8s-deploy/examples/party-10000/cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-10000
namespace: fate-10000
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 10000
registry: ""
imageTag: ""
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- rollsite
- clustermanager
Expand All @@ -22,6 +24,13 @@ modules:

backend: eggroll

# host:
# fateboard: 10000.fateboard.kubefate.net
# client: 10000.notebook.kubefate.net
# sparkUI: 10000.spark.kubefate.net
# rabbitmqUI: 10000.rabbitmq.kubefate.net
# pulsarUI: 10000.pulsar.kubefate.net

rollsite:
type: NodePort
nodePort: 30101
Expand Down
7 changes: 6 additions & 1 deletion k8s-deploy/examples/party-9999/cluster-serving.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: fate-serving-9999
namespace: fate-serving-9999
chartName: fate-serving
chartVersion: v2.0.0
chartVersion: v2.0.4
partyId: 9999
registry: ""
imageTag: ""
pullPolicy:
imagePullSecrets:
- name: myregistrykey
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- servingProxy
- servingRedis
Expand Down
11 changes: 10 additions & 1 deletion k8s-deploy/examples/party-9999/cluster-spark-pulsar.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-9999
namespace: fate-9999
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 9999
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- python
- mysql
Expand All @@ -23,6 +25,13 @@ modules:

backend: spark

# host:
# fateboard: 9999.fateboard.kubefate.net
# client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
# pulsarUI: 9999.pulsar.kubefate.net

python:
type: NodePort
httpNodePort: 30097
Expand Down
11 changes: 10 additions & 1 deletion k8s-deploy/examples/party-9999/cluster-spark.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-9999
namespace: fate-9999
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 9999
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- python
- mysql
Expand All @@ -23,6 +25,13 @@ modules:

backend: spark

# host:
# fateboard: 9999.fateboard.kubefate.net
# client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
# pulsarUI: 9999.pulsar.kubefate.net

python:
type: NodePort
httpNodePort: 30097
Expand Down
11 changes: 10 additions & 1 deletion k8s-deploy/examples/party-9999/cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-9999
namespace: fate-9999
chartName: fate
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 9999
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- rollsite
- clustermanager
Expand All @@ -22,6 +24,13 @@ modules:

backend: eggroll

# host:
# fateboard: 9999.fateboard.kubefate.net
# client: 9999.notebook.kubefate.net
# sparkUI: 9999.spark.kubefate.net
# rabbitmqUI: 9999.rabbitmq.kubefate.net
# pulsarUI: 9999.pulsar.kubefate.net

rollsite:
type: NodePort
nodePort: 30091
Expand Down
4 changes: 3 additions & 1 deletion k8s-deploy/examples/party-exchange/rollsite.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-exchange
namespace: fate-exchange
chartName: fate-exchange
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 1
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,6 +11,8 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- rollsite

Expand Down
31 changes: 30 additions & 1 deletion k8s-deploy/examples/party-exchange/trafficServer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fate-exchange
namespace: fate-exchange
chartName: fate-exchange
chartVersion: v1.6.0
chartVersion: v1.6.0-a
partyId: 1
registry: ""
imageTag: "1.6.0-release"
Expand All @@ -11,8 +11,11 @@ imagePullSecrets:
persistence: false
istio:
enabled: false
podSecurityPolicy:
enabled: false
modules:
- trafficServer
- nginx

trafficServer:
type: NodePort
Expand All @@ -23,3 +26,29 @@ trafficServer:
tunnelRoute: 192.168.10.1:30109
- fqdn: 9999.fate.org
tunnelRoute: 192.168.9.1:30099
nginx:
nodeSelector:
tolerations:
affinity:
type: NodePort
httpNodePort: 30003
grpcNodePort: 30008
route_table:
9999:
proxy:
- host: 192.168.9.1
http_port: 30093
grpc_port: 30098
fateflow:
- host: 192.168.9.1
http_port: 30097
grpc_port: 30092
10000:
proxy:
- host: 192.168.10.1
http_port: 30103
grpc_port: 30108
fateflow:
- host: 192.168.10.1
http_port: 30107
grpc_port: 30102

0 comments on commit ffd3a72

Please sign in to comment.