summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml')
-rw-r--r--vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml b/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml
index da42ded8..2263ddbc 100644
--- a/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml
+++ b/vnfs/DAaaS/sample-apps/training/sample-horovod-app/templates/job.yaml
@@ -64,7 +64,7 @@ spec:
- name: USESECRETS
value: "{{ .Values.ssh.useSecrets }}"
{{- end }}
- {{- if .Values.master.env }}
+ {{- if .Values.master.env }}
{{- range $key, $value := .Values.master.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
@@ -101,10 +101,10 @@ spec:
{{- if .Values.volumeMounts }}
{{ toYaml .Values.volumeMounts | indent 8 }}
{{- end }}
- command:
+ command:
- /horovod/generated/run.sh
args:
-{{ toYaml .Values.master.args | indent 10 }}
+{{ toYaml .Values.master.args | indent 10 }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.ssh.useSecrets }}
@@ -119,13 +119,13 @@ spec:
- name: USESECRETS
value: "{{ .Values.ssh.useSecrets }}"
{{- end }}
- {{- if .Values.master.env }}
+ {{- if .Values.master.env }}
{{- range $key, $value := .Values.master.env }}
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- end }}
- command:
+ command:
- /horovod/generated/waitWorkersReady.sh
args:
- /horovod/generated/hostfile