Skip to content

Commit

Permalink
Adapt to the rest interface of serving server (#911)
Browse files Browse the repository at this point in the history
* Adapt to the rest interface of serving server

Signed-off-by: hecy7 <[email protected]>

* fix helm lint check

Signed-off-by: hecy7 <[email protected]>

---------

Signed-off-by: hecy7 <[email protected]>
Co-authored-by: hecy7 <[email protected]>
Co-authored-by: tubaobao3 <[email protected]>
  • Loading branch information
tubaobao3 and MiKKiYang authored Sep 5, 2023
1 parent 101bd6b commit e627c03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions helm-charts/FATE-Serving/templates/serving-server-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ spec:
nodePort: {{ .Values.servingServer.nodePort }}
{{- end }}
protocol: TCP
- name: "8080"
port: 8080
targetPort: 8080
{{- if eq .Values.servingServer.type "NodePort" "LoadBalancer" }}
nodePort: {{ .Values.servingServer.httpNodePort }}
{{- end }}
protocol: TCP
type: {{ .Values.servingServer.type }}
{{- if .Values.servingServer.loadBalancerIP }}
loadBalancerIP: "{{ .Values.servingServer.loadBalancerIP }}"
Expand Down
1 change: 1 addition & 0 deletions helm-charts/FATE-Serving/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ servingServer:
include: true
type: NodePort
nodePort: 30209
httpNodePort: 30210
loadBalancerIP:
fateflow:
ip: fateflow
Expand Down

0 comments on commit e627c03

Please sign in to comment.