añadido Argos Core

This commit is contained in:
2025-08-20 01:16:53 +02:00
parent 550d5fbe52
commit d973225012
17 changed files with 550 additions and 151 deletions

View File

@@ -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: