añadido gitea y medio argos

This commit is contained in:
2025-08-18 10:29:04 +02:00
parent f37ed27613
commit 8e09b2e33e
40 changed files with 929 additions and 0 deletions

View 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

View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: minio
namespace: argos-core
spec:
replicas: 1
selector: { matchLabels: { app: minio } }
template:
metadata: { labels: { app: minio } }
spec:
containers:
- name: minio
image: quay.io/minio/minio:latest
args: ["server", "/data", "--console-address", ":9001"]
envFrom:
- secretRef: { name: minio-creds }
ports:
- containerPort: 9000
- containerPort: 9001
volumeMounts:
- name: data
mountPath: /data
volumes:
- name: data
persistentVolumeClaim:
claimName: minio-data

View File

@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mosquitto
namespace: argos-core
spec:
replicas: 1
selector: { matchLabels: { app: mosquitto } }
template:
metadata: { labels: { app: mosquitto } }
spec:
containers:
- name: mosquitto
image: harbor.c2et.net/library/eclipse-mosquitto:latest
ports:
- containerPort: 1883
volumeMounts:
- name: cfg
mountPath: /mosquitto/config
volumes:
- name: cfg
configMap:
name: mosquitto-conf
items:
- key: mosquitto.conf
path: mosquitto.conf

View File

@@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: argos-orchestrator
namespace: argos-core
spec:
replicas: 1
selector: { matchLabels: { app: argos-orchestrator } }
template:
metadata: { labels: { app: argos-orchestrator } }
spec:
containers:
- name: orchestrator
image: harbor.c2et.net/library/python:3.13.7-slim-bookworm
command: ["/bin/sh","-c"]
args:
- |
set -e
apt-get update && apt-get install -y --no-install-recommends ffmpeg curl && rm -rf /var/lib/apt/lists/*
pip install paho-mqtt minio pyyaml requests
python /app/app.py
envFrom:
- secretRef: { name: argos-orchestrator-secret }
volumeMounts:
- { name: cfg, mountPath: /app }
- { name: data, mountPath: /data }
volumes:
- name: cfg
configMap:
name: argos-orchestrator-config
items:
- { key: app.py, path: app.py }
- { key: settings.yaml, path: settings.yaml }
- name: data
emptyDir: {}

View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: argos-panel
namespace: argos-core
spec:
replicas: 1
selector: { matchLabels: { app: argos-panel } }
template:
metadata: { labels: { app: argos-panel } }
spec:
containers:
- name: panel
image: docker.io/library/python:3.13.7-slim-bookworm
command: ["/bin/sh","-c"]
args:
- |
set -e
pip install fastapi uvicorn minio
uvicorn app:app --host 0.0.0.0 --port 8000
envFrom:
- secretRef: { name: argos-panel-secret }
volumeMounts:
- { name: app, mountPath: /app }
- { name: data, mountPath: /data }
ports:
- containerPort: 8000
volumes:
- name: app
configMap:
name: argos-panel-config
items: [ { key: app.py, path: app.py } ]
- name: data
emptyDir: {}