blob: fa3d897b0903093b5cc968edc6668f8d51c38577 [file] [log] [blame]
Hyunsun Moon33d85312020-08-20 00:55:31 -07001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6
7---
8apiVersion: v1
9kind: Service
10metadata:
Hyunsun Moon804e05d2020-09-01 17:31:33 -070011 name: upf
12 labels:
13{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
14spec:
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---
22apiVersion: v1
23kind: Service
24metadata:
Hyunsun Moon33d85312020-08-20 00:55:31 -070025 name: upf-external
26 labels:
27{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
28spec:
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 Baviere84456c2021-04-09 14:00:45 -070037---
38apiVersion: v1
39kind: Service
40metadata:
41 name: upf-metrics
42 labels:
43{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
44spec:
45 selector:
46{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
47 ports:
48 - name: prometheus-exporter
49 protocol: TCP
Andy Bavier6ad6a882021-04-19 20:48:03 -070050 port: 8080