blob: 88e2647fbbd8367eddf872d5129fe8b756c9d8b9 [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{- /*
2# Copyright 2020-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15*/ -}}
16
17---
18apiVersion: v1
19kind: Service
20metadata:
21 name: wowza
22 labels:
23{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
24spec:
25 selector:
26{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
27 ports:
28 - port: 554 #
29 targetPort: 554
30 protocol: TCP
31 name: tcp-554
32 - port: 1935 # RTMP/RTMPT/RTMPE/RTSP(interleaved)
33 targetPort: 1935
34 protocol: TCP
35 name: tcp-1935
36 - port: 8084 #
37 targetPort: 8084
38 protocol: TCP
39 name: tcp-8084
40 - port: 8085 #
41 targetPort: 8085
42 protocol: TCP
43 name: tcp-8085
44 - port: 8086 #
45 targetPort: 8086
46 protocol: TCP
47 name: tcp-8086
48 - port: 8087 #
49 targetPort: 8087
50 protocol: TCP
51 name: tcp-8087
52 - port: 8088 #
53 targetPort: 8088
54 protocol: TCP
55 name: tcp-8088
56---
57apiVersion: v1
58kind: Service
59metadata:
60 name: wowza-external
61 labels:
62{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
63spec:
64 selector:
65{{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }}
66 type: NodePort
67 ports:
68 - name: management
69 port: 8088
70 protocol: TCP
71 nodePort: 30088
72 - name: rtmp
73 port: 1935 # RTMP/RTMPT/RTMPE/RTSP(interleaved)
74 targetPort: 1935
75 protocol: TCP
76 nodePort: 31935