añadido gitea y medio argos
This commit is contained in:
34
argos/deployments/deploy-mediamtx.yaml
Normal file
34
argos/deployments/deploy-mediamtx.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mediamtx
|
||||
namespace: argos-core
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: mediamtx } }
|
||||
template:
|
||||
metadata: { labels: { app: mediamtx } }
|
||||
spec:
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
containers:
|
||||
- name: mediamtx
|
||||
image: bluenviron/mediamtx:1.14.0
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- |
|
||||
set -e
|
||||
ulimit -n 1048576
|
||||
exec mediamtx /config/mediamtx.yml
|
||||
volumeMounts:
|
||||
- name: cfg
|
||||
mountPath: /config
|
||||
ports:
|
||||
- containerPort: 8554 # RTSP
|
||||
- containerPort: 8189 # SRT
|
||||
- containerPort: 8889 # WHIP
|
||||
- containerPort: 8880 # HTTP/API
|
||||
volumes:
|
||||
- name: cfg
|
||||
configMap:
|
||||
name: mediamtx-config
|
||||
Reference in New Issue
Block a user