Update 'rtmp-server.yaml'
This commit is contained in:
parent
2770d5c57f
commit
c9f82fe6ba
@ -1,31 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: my-deployment
|
||||
name: rtmp-adr-deployment
|
||||
spec:
|
||||
replicas: 2
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: my-app
|
||||
app: rtmp-server
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: my-app
|
||||
app: rtmp-server
|
||||
env: prod
|
||||
spec:
|
||||
containers:
|
||||
- name: my-deployment-container
|
||||
- name: rtmp-adr-deployment-container
|
||||
image: git.oe74.net/adelorenzo/rtmp-adr:0.6
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: example-prod
|
||||
name: rtmp-adr-svc
|
||||
spec:
|
||||
selector:
|
||||
app: my-app
|
||||
app: rtmp-server
|
||||
env: prod
|
||||
type: NodePort
|
||||
ports:
|
||||
@ -39,7 +39,7 @@ spec:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
nodePort: 31080
|
||||
# - protocol: TCP
|
||||
# port: 1935
|
||||
# targetPort: 1935
|
||||
# nodePort: 31935
|
||||
- protocol: TCP
|
||||
port: 1935
|
||||
targetPort: 1935
|
||||
nodePort: 31935
|
Loading…
Reference in New Issue
Block a user