Hyunsun Moon | 97e111d | 2022-05-13 17:56:56 -0700 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2022-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | */}} |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 6 | |
| 7 | apiVersion: v1 |
| 8 | kind: Service |
| 9 | metadata: |
Hyunsun Moon | 08898d4 | 2022-05-16 14:21:38 -0700 | [diff] [blame^] | 10 | name: {{ include "person-detection-app.fullname" . }}-streaming |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 11 | labels: |
| 12 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 13 | spec: |
Hyunsun Moon | 08898d4 | 2022-05-16 14:21:38 -0700 | [diff] [blame^] | 14 | type: {{ .Values.service.streaming.type }} |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 15 | ports: |
Hyunsun Moon | 08898d4 | 2022-05-16 14:21:38 -0700 | [diff] [blame^] | 16 | - port: {{ .Values.service.streaming.port }} |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 17 | protocol: TCP |
Hyunsun Moon | 08898d4 | 2022-05-16 14:21:38 -0700 | [diff] [blame^] | 18 | selector: |
| 19 | {{- include "person-detection-app.selectorLabels" . | nindent 4 }} |
| 20 | --- |
| 21 | apiVersion: v1 |
| 22 | kind: Service |
| 23 | metadata: |
| 24 | name: {{ include "person-detection-app.fullname" . }}-input |
| 25 | labels: |
| 26 | {{- include "person-detection-app.labels" . | nindent 4 }} |
| 27 | spec: |
| 28 | type: {{ .Values.service.input.type }} |
| 29 | ports: |
| 30 | - port: {{ .Values.service.input.port }} |
Hyunsun Moon | cb887bf | 2022-05-16 12:36:07 -0700 | [diff] [blame] | 31 | protocol: UDP |
Shad Ansari | 0a4637a | 2022-05-11 12:20:59 -0700 | [diff] [blame] | 32 | selector: |
| 33 | {{- include "person-detection-app.selectorLabels" . | nindent 4 }} |