Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 1 | {{- /* |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame] | 2 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 3 | # Copyright 2020-present Open Networking Foundation |
| 4 | # |
Jeremy Ronquillo | 6046ce3 | 2020-06-18 11:06:29 -0700 | [diff] [blame] | 5 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame] | 6 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 7 | */ -}} |
| 8 | |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: Service |
| 12 | metadata: |
| 13 | name: wowza |
| 14 | labels: |
| 15 | {{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }} |
| 16 | spec: |
| 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 | --- |
| 49 | apiVersion: v1 |
| 50 | kind: Service |
| 51 | metadata: |
| 52 | name: wowza-external |
| 53 | labels: |
| 54 | {{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }} |
| 55 | spec: |
| 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 |