Update 'rtmp-server.yaml'

This commit is contained in:
Adolfo Delorenzo 2023-01-24 20:28:31 +00:00
parent 5ac4d7b28c
commit 2d7f7ba3c5

View File

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