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 }} |
| 14 | spec: |
| 15 | selector: |
| 16 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 17 | ports: |
| 18 | - name: pfcp |
| 19 | protocol: UDP |
| 20 | port: 8805 |
| 21 | --- |
| 22 | apiVersion: v1 |
| 23 | kind: Service |
| 24 | metadata: |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 25 | name: upf-external |
| 26 | labels: |
| 27 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 28 | spec: |
| 29 | selector: |
| 30 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 31 | type: NodePort |
| 32 | ports: |
| 33 | - name: bess-web |
| 34 | protocol: TCP |
| 35 | port: 8000 |
| 36 | nodePort: {{ .Values.config.upf.bess.web.nodePort }} |
Andy Bavier | e84456c | 2021-04-09 14:00:45 -0700 | [diff] [blame] | 37 | --- |
| 38 | apiVersion: v1 |
| 39 | kind: Service |
| 40 | metadata: |
| 41 | name: upf-metrics |
| 42 | labels: |
| 43 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 44 | spec: |
| 45 | selector: |
| 46 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 47 | ports: |
| 48 | - name: prometheus-exporter |
| 49 | protocol: TCP |
Andy Bavier | 6ad6a88 | 2021-04-19 20:48:03 -0700 | [diff] [blame] | 50 | port: 8080 |