Files
kubernetes/argos/deployments/deploy-orchestrator.yaml
2025-08-18 10:31:22 +02:00

36 lines
1.1 KiB
YAML

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: {}