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: |
| 11 | name: upf-headless |
| 12 | labels: |
| 13 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 14 | spec: |
| 15 | clusterIP: None |
| 16 | selector: |
| 17 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
Hyunsun Moon | 804e05d | 2020-09-01 17:31:33 -0700 | [diff] [blame] | 22 | name: upf |
| 23 | labels: |
| 24 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 25 | spec: |
| 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 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 36 | name: upf-external |
| 37 | labels: |
| 38 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 39 | spec: |
| 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 }} |