Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2020-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 5 | */}} |
| 6 | |
| 7 | --- |
| 8 | apiVersion: v1 |
| 9 | kind: Service |
| 10 | metadata: |
Hyunsun Moon | 804e05d | 2020-09-01 17:31:33 -0700 | [diff] [blame] | 11 | name: upf |
| 12 | labels: |
| 13 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
Hyunsun Moon | 44abcbc | 2021-06-23 17:55:23 -0700 | [diff] [blame] | 14 | {{- with .Values.service.annotations }} |
| 15 | annotations: |
| 16 | {{- toYaml . | nindent 4 }} |
| 17 | {{- end }} |
Hyunsun Moon | 804e05d | 2020-09-01 17:31:33 -0700 | [diff] [blame] | 18 | spec: |
Hyunsun Moon | 3cc4351 | 2021-06-17 02:24:41 -0700 | [diff] [blame] | 19 | type: {{ .Values.service.type }} |
Hyunsun Moon | 804e05d | 2020-09-01 17:31:33 -0700 | [diff] [blame] | 20 | selector: |
| 21 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 22 | ports: |
| 23 | - name: pfcp |
| 24 | protocol: UDP |
| 25 | port: 8805 |
| 26 | --- |
| 27 | apiVersion: v1 |
| 28 | kind: Service |
| 29 | metadata: |
Hyunsun Moon | 3cc4351 | 2021-06-17 02:24:41 -0700 | [diff] [blame] | 30 | name: upf-http |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 31 | labels: |
| 32 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
Hyunsun Moon | 44abcbc | 2021-06-23 17:55:23 -0700 | [diff] [blame] | 33 | {{- with .Values.service.annotations }} |
| 34 | annotations: |
| 35 | {{- toYaml . | nindent 4 }} |
| 36 | {{- end }} |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 37 | spec: |
Hyunsun Moon | 3cc4351 | 2021-06-17 02:24:41 -0700 | [diff] [blame] | 38 | type: {{ .Values.service.type }} |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 39 | selector: |
| 40 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 41 | ports: |
| 42 | - name: bess-web |
| 43 | protocol: TCP |
| 44 | port: 8000 |
Andy Bavier | e84456c | 2021-04-09 14:00:45 -0700 | [diff] [blame] | 45 | - name: prometheus-exporter |
| 46 | protocol: TCP |
Andy Bavier | 6ad6a88 | 2021-04-19 20:48:03 -0700 | [diff] [blame] | 47 | port: 8080 |