Skip to content

Commit

Permalink
added additional port configuration for flyte services
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw committed Apr 15, 2024
1 parent 7287470 commit 89e6120
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/flyte-core/templates/admin/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@ spec:
- name: http-metrics
protocol: TCP
port: 10254
{{- with .Values.flyteadmin.service.additionalPorts -}}
{{ tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- end }}
selector: {{ include "flyteadmin.selectorLabels" . | nindent 4 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/flyte-core/templates/datacatalog/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ spec:
port: 89
protocol: TCP
targetPort: 8089
{{- with .Values.datacatalog.service.additionalPorts -}}
{{ tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- end }}
selector: {{ include "datacatalog.selectorLabels" . | nindent 4 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/flyte-core/templates/propeller/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ spec:
- name: http-metrics
protocol: TCP
port: 10254
{{- with .Values.flytepropeller.service.additionalPorts -}}
{{ tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- end }}
selector: {{ include "flytepropeller.selectorLabels" . | nindent 4 }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/flyte-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ flyteadmin:
projectcontour.io/upstream-protocol.h2c: grpc
type: ClusterIP
loadBalancerSourceRanges: []
# -- Appends additional ports to the service spec.
additionalPorts: []
# -- Configuration for service accounts for FlyteAdmin
serviceAccount:
# -- Should a service account be created for flyteadmin
Expand Down Expand Up @@ -228,6 +230,8 @@ datacatalog:
annotations:
projectcontour.io/upstream-protocol.h2c: grpc
type: NodePort
# -- Appends additional ports to the service spec.
additionalPorts: []
# -- Configuration for service accounts for Datacatalog
serviceAccount:
# -- Should a service account be created for Datacatalog
Expand Down Expand Up @@ -356,6 +360,8 @@ flytepropeller:
service:
# -- If enabled create the flytepropeller service
enabled: false
# -- Appends additional ports to the service spec.
additionalPorts: []

# -- Settings for flytepropeller service monitor
serviceMonitor:
Expand Down

0 comments on commit 89e6120

Please sign in to comment.