añadido apolo
This commit is contained in:
49
apolo/deployments/deploy-mediamtx.yaml
Normal file
49
apolo/deployments/deploy-mediamtx.yaml
Normal 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
|
||||
Reference in New Issue
Block a user