añadido apolo

This commit is contained in:
2025-08-17 10:15:19 +02:00
parent 2a3067dc0b
commit 31a109fd5c
68 changed files with 2416 additions and 26 deletions

View File

@@ -0,0 +1,49 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: apolo-mediamtx
namespace: apolo
labels:
app.kubernetes.io/name: apolo-mediamtx
app.kubernetes.io/part-of: apolo
app.kubernetes.io/component: media
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: apolo-mediamtx
template:
metadata:
labels:
app.kubernetes.io/name: apolo-mediamtx
app.kubernetes.io/part-of: apolo
app.kubernetes.io/component: media
spec:
imagePullSecrets:
- name: harbor-cred
containers:
- name: mediamtx
image: harbor.c2et.com/xrf-ssl/xrf-media-server:6.0
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: apolo-mediamtx-env
ports:
- name: rtmp
containerPort: 1935
protocol: TCP
- name: rtsp
containerPort: 8554
protocol: TCP
- name: hls
containerPort: 8887
protocol: TCP
# Probes sencillas por TCP en RTSP/RTMP. Ajusta si tu build expone health HTTP.
readinessProbe:
tcpSocket: { port: 8554 }
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket: { port: 8554 }
initialDelaySeconds: 20
periodSeconds: 20