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