apiVersion: apps/v1 kind: Deployment metadata: name: rtmp-adr-deployment spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app: rtmp-server template: metadata: labels: app: rtmp-server env: prod spec: containers: - name: rtmp-adr-deployment-container image: git.oe74.net/adelorenzo/rtmp-adr:0.6 --- apiVersion: v1 kind: Service metadata: name: rtmp-adr-svc spec: selector: app: rtmp-server env: prod type: NodePort ports: - name: http protocol: TCP port: 80 targetPort: 80 nodePort: 30080 - name: hls protocol: TCP port: 8080 targetPort: 8080 nodePort: 31080 - protocol: TCP port: 1935 targetPort: 1935 nodePort: 31935