blob: 663ccde601bcbb6a986d67ce5d01cb852a5224be [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{- /*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003# Copyright 2020-present Open Networking Foundation
4#
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07005# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07006
Jeremy Ronquillo223db002020-06-05 10:28:22 -07007*/ -}}
8
9---
10apiVersion: v1
11kind: Service
12metadata:
13 name: wowza
14 labels:
15{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
16spec:
17 selector:
18{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
19 ports:
20 - port: 554 #
21 targetPort: 554
22 protocol: TCP
23 name: tcp-554
24 - port: 1935 # RTMP/RTMPT/RTMPE/RTSP(interleaved)
25 targetPort: 1935
26 protocol: TCP
27 name: tcp-1935
28 - port: 8084 #
29 targetPort: 8084
30 protocol: TCP
31 name: tcp-8084
32 - port: 8085 #
33 targetPort: 8085
34 protocol: TCP
35 name: tcp-8085
36 - port: 8086 #
37 targetPort: 8086
38 protocol: TCP
39 name: tcp-8086
40 - port: 8087 #
41 targetPort: 8087
42 protocol: TCP
43 name: tcp-8087
44 - port: 8088 #
45 targetPort: 8088
46 protocol: TCP
47 name: tcp-8088
48---
49apiVersion: v1
50kind: Service
51metadata:
52 name: wowza-external
53 labels:
54{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
55spec:
56 selector:
57{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
58 type: NodePort
59 ports:
60 - name: management
61 port: 8088
62 protocol: TCP
63 nodePort: 30088
64 - name: rtmp
65 port: 1935 # RTMP/RTMPT/RTMPE/RTSP(interleaved)
66 targetPort: 1935
67 protocol: TCP
68 nodePort: 31935