añadido Argos Core
This commit is contained in:
@@ -5,29 +5,33 @@ metadata:
|
||||
namespace: argos-core
|
||||
spec:
|
||||
replicas: 1
|
||||
selector: { matchLabels: { app: mediamtx } }
|
||||
selector:
|
||||
matchLabels: { app: mediamtx }
|
||||
template:
|
||||
metadata: { labels: { app: mediamtx } }
|
||||
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
|
||||
# Nada de /bin/sh: solo pasa la ruta del YAML como argumento posicional
|
||||
args: ["/config/mediamtx.yml"]
|
||||
volumeMounts:
|
||||
- name: cfg
|
||||
mountPath: /config
|
||||
ports:
|
||||
- containerPort: 8554 # RTSP
|
||||
- containerPort: 8189 # SRT
|
||||
- containerPort: 8889 # WHIP
|
||||
- containerPort: 8880 # HTTP/API
|
||||
- name: rtsp
|
||||
containerPort: 8554
|
||||
protocol: TCP
|
||||
- name: http
|
||||
containerPort: 8880
|
||||
protocol: TCP
|
||||
- name: whip
|
||||
containerPort: 8889
|
||||
protocol: TCP
|
||||
- name: srt
|
||||
containerPort: 8189
|
||||
protocol: UDP
|
||||
volumes:
|
||||
- name: cfg
|
||||
configMap:
|
||||
|
||||
Reference in New Issue
Block a user