job-service.yaml 477 B

12345678910111213141516171819
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: {{ template "horovod.fullname" . }}-driver
  5. labels:
  6. app: {{ template "horovod.name" . }}
  7. chart: {{ template "horovod.chart" . }}
  8. release: {{ .Release.Name }}
  9. heritage: {{ .Release.Service }}
  10. spec:
  11. clusterIP: None
  12. ports:
  13. - name: ssh
  14. port: {{ .Values.ssh.port }}
  15. targetPort: {{ .Values.ssh.port }}
  16. selector:
  17. app: {{ template "horovod.name" . }}
  18. release: {{ .Release.Name }}
  19. role: driver