File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 42
42
{{- if .Values.head.serviceAccountName }}
43
43
serviceAccountName : {{ .Values.head.serviceAccountName }}
44
44
{{- end }}
45
+ {{- if .Values.head.restartPolicy }}
46
+ restartPolicy : {{ .Values.head.restartPolicy }}
47
+ {{- end }}
45
48
{{- if .Values.head.initContainers }}
46
49
initContainers : {{- toYaml .Values.head.initContainers | nindent 10 }}
47
50
{{- end }}
@@ -136,6 +139,9 @@ spec:
136
139
{{- if $values.serviceAccountName }}
137
140
serviceAccountName : {{ $values.serviceAccountName }}
138
141
{{- end }}
142
+ {{- if $values.restartPolicy }}
143
+ restartPolicy : {{ $values.restartPolicy }}
144
+ {{- end }}
139
145
{{- if $values.initContainers }}
140
146
initContainers : {{- toYaml $values.initContainers | nindent 10 }}
141
147
{{- end }}
@@ -228,6 +234,9 @@ spec:
228
234
{{- if .Values.worker.serviceAccountName }}
229
235
serviceAccountName : {{ .Values.worker.serviceAccountName }}
230
236
{{- end }}
237
+ {{- if .Values.worker.restartPolicy }}
238
+ restartPolicy : {{ .Values.worker.restartPolicy }}
239
+ {{- end }}
231
240
{{- if .Values.worker.initContainers }}
232
241
initContainers : {{- toYaml .Values.worker.initContainers | nindent 10 }}
233
242
{{- end }}
Original file line number Diff line number Diff line change 56
56
# Note: From KubeRay v0.6.0, users need to create the ServiceAccount by themselves if they specify the `serviceAccountName`
57
57
# in the headGroupSpec. See https://github.com/ray-project/kuberay/pull/1128 for more details.
58
58
serviceAccountName : " "
59
+ restartPolicy : " "
59
60
rayStartParams :
60
61
dashboard-host : ' 0.0.0.0'
61
62
# containerEnv specifies environment variables for the Ray container,
@@ -126,6 +127,7 @@ worker:
126
127
maxReplicas : 3
127
128
labels : {}
128
129
serviceAccountName : " "
130
+ restartPolicy : " "
129
131
rayStartParams : {}
130
132
# containerEnv specifies environment variables for the Ray container,
131
133
# Follows standard K8s container env schema.
@@ -189,6 +191,7 @@ additionalWorkerGroups:
189
191
maxReplicas : 3
190
192
labels : {}
191
193
serviceAccountName : " "
194
+ restartPolicy : " "
192
195
rayStartParams : {}
193
196
# containerEnv specifies environment variables for the Ray container,
194
197
# Follows standard K8s container env schema.
You can’t perform that action at this time.
0 commit comments