Update 'rtmp-server.yaml'

This commit is contained in:
Adolfo Delorenzo 2023-01-24 20:28:31 +00:00
parent 5ac4d7b28c
commit 2d7f7ba3c5
1 changed files with 13 additions and 9 deletions

View File

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: rtmp-server
namespace: rtmp
spec:
replicas: 1
strategy:
@ -18,24 +17,24 @@ spec:
spec:
containers:
- name: rtmp-server-container
image: git.oe74.net/adelorenzo/rtmp-adr:0.8
image: git.oe74.net/adelorenzo/rtmp-adr:1.7
---
apiVersion: v1
kind: Service
metadata:
name: rtmp-server-svc
namespace: rtmp
spec:
selector:
app: rtmp-server
env: prod
type: NodePort
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
nodePort: 30080
# - name: http
# protocol: TCP
# port: 80
# targetPort: 80
# nodePort: 30080
- name: hls
protocol: TCP
port: 8080
@ -45,4 +44,9 @@ spec:
protocol: TCP
port: 1935
targetPort: 1935
nodePort: 31935
nodePort: 31935
- name: nginx-exporter
protocol: TCP
port: 9728
targetPort: 9728
nodePort: 32113