Skip to content

Commit

Permalink
Helm: add service type configuration to head group for ray-cluster (#614
Browse files Browse the repository at this point in the history
)

Co-authored-by: Iskandar Sitdikov <[email protected]>

Currently service type is not used in Helm and ClusterIP is hardcoded.
This commit fixes that so that the service type in values.yaml is used.
  • Loading branch information
IceKhan13 authored Oct 11, 2022
1 parent cdc2924 commit 607ac1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-chart/ray-cluster/templates/raycluster-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
enableInTreeAutoscaling: {{ .Values.head.enableInTreeAutoscaling }}
{{- end }}
headGroupSpec:
serviceType: ClusterIP
serviceType: {{ .Values.service.type }}
rayStartParams:
{{- range $key, $val := .Values.head.initArgs }}
{{ $key }}: {{ $val | quote }}
Expand Down

0 comments on commit 607ac1f

Please sign in to comment.