blob: dfc7b9bb10600ae8c955d88463cfc279d0f3c068 [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:
11 name: upf-headless
12 labels:
13{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
14spec:
15 clusterIP: None
16 selector:
17{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
18---
19apiVersion: v1
20kind: Service
21metadata:
Hyunsun Moon804e05d2020-09-01 17:31:33 -070022 name: upf
23 labels:
24{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
25spec:
26 selector:
27{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
28 ports:
29 - name: pfcp
30 protocol: UDP
31 port: 8805
32---
33apiVersion: v1
34kind: Service
35metadata:
Hyunsun Moon33d85312020-08-20 00:55:31 -070036 name: upf-external
37 labels:
38{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
39spec:
40 selector:
41{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
42 type: NodePort
43 ports:
44 - name: bess-web
45 protocol: TCP
46 port: 8000
47 nodePort: {{ .Values.config.upf.bess.web.nodePort }}