diff options
author | Marco Platania <platania@research.att.com> | 2019-04-11 17:55:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-11 17:55:23 +0000 |
commit | 4d91730a54e81986d6fc9df4b55de04cfe0eae8b (patch) | |
tree | 018a822bd5cebd83bb56e26efabd7049aa403383 /vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml | |
parent | 858a95e48507cde00977408ee6cf8feddc13e063 (diff) | |
parent | 9d98267fe7046c304a71f98e89de6774d09f094e (diff) |
Merge "Add helm charts for horovod based app"
Diffstat (limited to 'vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml')
-rw-r--r-- | vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml b/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml new file mode 100644 index 00000000..e7b05c26 --- /dev/null +++ b/vnfs/DAaaS/applications/charts/sample-horovod-app/templates/job-service.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ template "horovod.fullname" . }}-master + labels: + app: {{ template "horovod.name" . }} + chart: {{ template "horovod.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + clusterIP: None + ports: + - name: ssh + port: {{ .Values.ssh.port }} + targetPort: {{ .Values.ssh.port }} + selector: + app: {{ template "horovod.name" . }} + release: {{ .Release.Name }} + role: master |